Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
#!/bin/perl -w use Data::Dumper; use Storable; %list = ( [ "'NEIS.IFMS.CP2#LOAD.CHGT.DAT'" => 0, "sqlload / ifmschgt.dat >> ifmschgt.log" => 0 ], [ "'NEIS.IFMS.CP2#LOAD.TOLT.DAT'" => 0, "sqlload / ifmstolt.dat >> ifmstolt.log" => 0 ] ); print Dumper %list; store( \%list, 'store' ); $root = retrieve( 'store' ); foreach $line ( %{$root} ) { print Dumper $line; } foreach $line ( %{$root} ) { foreach $m ( @{$line} ) { print "$m\n"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Going through a retrieved Hash list
by Russ (Deacon) on Aug 02, 2000 at 02:00 UTC | |
|
RE: Going through a retrieved Hash list
by steveAZ98 (Monk) on Aug 02, 2000 at 00:14 UTC |