(my $first,my $second) = /^([^ ]+) ([^ ]+)/
Eeew :P
if( my( $first, $last) = $line =~ /^([^ ]+) ([^ ]+)/ ){ }
In reply to Re^2: Matching against $_ behaves differently than matching against a named scalar?
by Anonymous Monk
in thread Matching against $_ behaves differently than matching against a named scalar?
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |