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{$_}=$_'In reply to Re: Filling a hash
by Skeeve
in thread Filling a hash
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |