in reply to Re^2: substr in nested foreach loop
in thread substr in nested foreach loop
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*$/);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: substr in nested foreach loop
by sarani (Sexton) on May 23, 2006 at 11:12 UTC |