Right, but that string is in $_[0] not $_.
Try putting:
as the first line of your sub. That will pop $_[0] into $_;shift;
In reply to RE:(3) strange uninitialized value problem
by swiftone
in thread strange uninitialized value problem
by jjhorner
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |