if ($_ =~ /^$/)
This code does not detect whitepace (a line of all spaces, for example) as requested.
Perhaps this would work better:
if ($_ =~ /^\s*$/)
In reply to Re^4: Uninitialized Value
by marinersk
in thread Uninitialized Value
by PilotinControl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |