Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Hash::Util::FieldHash 5.10.0

    Download button

    No screenshots available
    Downloads: 333  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.0/5)
    3 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Anno Siegel | More programs
    Perl Artistic License / FREE
    December 31st, 2007, 14:35 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Hash::Util::FieldHash description

    Hash::Util::FieldHash is a Perl module with support for Inside-Out Classes.

    Hash::Util::FieldHash is a Perl module with support for Inside-Out Classes.

    SYNOPSIS

    ### Create fieldhashes
    use Hash::Util qw(fieldhash fieldhashes);

    # Create a single field hash
    fieldhash my %foo;

    # Create three at once...
    fieldhashes my(%foo, ºr, ºz);
    # ...or any number
    fieldhashes @hashrefs;

    ### Create an idhash and register it for garbage collection
    use Hash::Util::FieldHash qw(idhash register);
    idhash my %name;
    my $object = do { my $o };
    # register the idhash for garbage collection with $object
    register($object, %name);
    # the following entry will be deleted when $object goes out of scope
    $name{$object} = 'John Doe';

    ### Register an ordinary hash for garbage collection
    use Hash::Util::FieldHash qw(id register);
    my %name;
    my $object = do { my $o };
    # register the hash %name for garbage collection of $object's id
    register $object, %name;
    # the following entry will be deleted when $object goes out of scope
    $name{id $object} = 'John Doe';

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Inside-Out Classes | hash utilities | Perl module | Inside-Out | Classes | hash

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM