$ perl -e'my ($maid = $fields[0]) =~ /(^\d*)/;' Can't declare scalar assignment in "my" at -e line 1, near ") =~" Execution of -e aborted due to compilation errors.
In reply to Re^2: variable declaration shortcut question
by ikegami
in thread variable declaration shortcut question
by lomSpace
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |