BackPAN::Index::Role::AsHash man page on Pidora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Pidora logo
[printable version]

BackPAN::Index::Role::UsersContributed Perl DocBackPAN::Index::Role::AsHash(3)

NAME
       BackPAN::Index::Role::AsHash - Role to dump object data as a hash

SYNOPSIS
	   use BackPAN::Index::Role::AsHash;

	   sub data_methods { return qw(list of data methods) }

DESCRIPTION
       A role to implement "<as_hash"> in result objects.

   Requires
       The receiving class must implement...

       data_methods

	   my @methods = $self->data_methods;

       Returns a list of methods which get data about the object.

   Implements
       as_hash

	   my $hash = $self->as_hash;

       Produces a hash reference representing the object's data based on
       "<$self-"data_methods>>.	 Each key is a method name, the value is
       "<$self-"$method>>.

perl v5.14.2			  2012-01-14   BackPAN::Index::Role::AsHash(3)
[top]

List of man pages available for Pidora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net