in reply to Filling a hash
In the sense of "having fun with homework questions" how about this? M-)
perl -MData::Dumper -ne '/^exit$/i&&die"Ok. I\x27m done".Dumper(\%h);chomp;$h{$_}=$_'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Filling a hash
by chester (Hermit) on Oct 26, 2005 at 16:41 UTC |