in reply to Re: populate a hash, with limits set by user?
in thread populate a hash, with limits set by user?
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";
|
|---|