sub populate_hash { my %hash; # populate hash \%hash; } #### my %top_level = % { populate_hash() }; #### perl -e 'print "How sweet does a rose smell? "; chomp ($n = ); $rose = "smells sweet to degree $n"; *other_name = *rose; print "$other_name\n"'
## my %top_level = % { populate_hash() }; ##
## perl -e 'print "How sweet does a rose smell? "; chomp ($n = ); $rose = "smells sweet to degree $n"; *other_name = *rose; print "$other_name\n"'