- or download this
my %newhash;
@newhash{@array} = @oldhash{@array};
- or download this
my %new = map { $_=> $old{$_} } grep { defined $old{$_} } @array;
- 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"'