I usually just go
my ($foo, $bar) = $data =~ /$pattern/ or die "horribly!";
ihb
See perltoc if you don't know which perldoc to read!
In reply to Re^3: Passing globals and magic variables safely
by ihb
in thread Passing globals and magic variables safely
by ysth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |