use strict; # Of course! print "Limit? "; my %input = map { print "Key = Value: "; split /\s*=\s*/, } ( 1 .. () ); use Data::Dumper; # Pretty print 8^) print Data::Dumper->Dump([\%input], ["input"]), "\n";