Nevermind - misread the question!
Interpolation is messing up your input. Print out the value of your variable to see what it is. Also, I would use shift instead of STDIN to get the values included on the command line.
$input = shift; print "$input\n";
In reply to Re: Getting Data::Dumper target from STDIN
by GotToBTru
in thread Getting Data::Dumper target from STDIN
by jr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |