- or download this
use warnings;
use strict;
...
foreach ( sort keys %c ) {
print "Key : $_ => $c{$_}\n";
}
- or download this
$hash{key} = undef; #defined $hash{key} false, exists $hash{key} true
- or download this
perl -e 'print "How sweet does a rose smell? "; chomp ($n = <STDIN>);
+$rose = "smells sweet to degree $n"; *other_name = *rose; print "$oth
+er_name\n"'