in reply to Re: variables names used to define variables
in thread variables names used to define variables
If you're going to use symbolic references (and hey, why not, they're cool :-) ), at least make it really obvious what you're doing;
# v Assign a variable name to the $result variable return ${"${input}_def"} || $input;
I've been using symbolic references so much recently I've been getting int the habit of using `use strict "vars", "subs";' instead of just `use strict;' :-)
$h=$ENV{HOME};my@q=split/\n\n/,`cat $h/.quotes`;$s="$h/." ."signature";$t=`cat $s`;print$t,"\n",$q[rand($#q)],"\n";
|
|---|