use strict; # Of course! print "Limit? "; my %input = map { print "Key = Value: "; split /\s*=\s*/, <STDIN> } ( +1 .. (<STDIN>) ); use Data::Dumper; # Pretty print 8^) print Data::Dumper->Dump([\%input], ["input"]), "\n";
In reply to RE: Re: populate a hash, with limits set by user?
by Adam
in thread populate a hash, with limits set by user?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |