# updated -- davorg noticed that $-> ... should be $_=> my %input = map { $_=>$cgi->param($_) } $cgi->param(); #### CGI::ReadParse(); # input values now in hash named "%in" #### foreach my $key (keys %input) { $input{$key} =~ tr/*//d; # or whatever makes sense } #### perl -e 'print "How sweet does a rose smell? "; chomp ($n = ); $rose = "smells sweet to degree $n"; *other_name = *rose; print "$other_name\n"'