Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Trouble with Tie::IxHash

by bart (Canon)
on May 23, 2006 at 18:49 UTC ( [id://551218]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Tie::Autotie 'Tie::IxHash';
    tie %hash_ref, 'Tie::IxHash';  # yuck, that variable's name!
    $hash_ref{MAIN}{ZOP}{Dev} = undef;
    $hash_ref{MAIN}{ZOP}{Con} = undef;
    ... # etc
    
  2. or download this
    sub ixhash {
         tie my(%hash), 'Tie::IxHash';
         %hash = @_;
         return \%hash;
    }
    
  3. or download this
    use Tie::IxHash;
    tie %hash_ref, 'Tie::IxHash';
    ...
                            'Exit' => undef,                             
                        )
                 );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://551218]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (2)
As of 2024-04-25 06:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found