would do what you want here. If it doesn't match all three variables will be undefined.my ($x, $y, $z) = ($line =~ /($num) ($num) ($num)\s*$/);
In reply to Re^3: substr in nested foreach loop
by Anonymous Monk
in thread substr in nested foreach loop
by sarani
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |