JPaul has asked for the wisdom of the Perl Monks concerning the following question:
How do I get the contents of {ODIR}/%direc out?my %hash; my %direc; my $record = { DIR => 3 }; $hash{'myhash'} = $record; $direc{'this'} = "something"; $direc{'that'} = "another"; $hash{'myhash'}->{ODIR} = %direc;
Without any luck. I guess I just don't understand how perl puts together the hashes.
Thanks,
JP
-- Alexander Widdlemouse undid his bellybutton and his bum dropped off --
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Referencing to a hash inside a hash of hashes.
by TheoPetersen (Priest) on Aug 08, 2001 at 00:50 UTC | |
by JPaul (Hermit) on Aug 08, 2001 at 00:56 UTC | |
Re: Referencing to a hash inside a hash of hashes.
by jepri (Parson) on Aug 08, 2001 at 00:58 UTC | |
by runrig (Abbot) on Aug 08, 2001 at 01:04 UTC | |
by tye (Sage) on Aug 08, 2001 at 07:25 UTC | |
Re: Referencing to a hash inside a hash of hashes.
by astaines (Curate) on Aug 08, 2001 at 02:35 UTC | |
Re: Referencing to a hash inside a hash of hashes.
by rchiav (Deacon) on Aug 08, 2001 at 01:02 UTC |