The output (with warnings):my $string = "one two three four five"; my $tmp = "this doesn't matter"; $string =~ /(\S+) (\S+) (\S+) (\S+) (\S+)/; # $1 through $5 are set print "\$3=$3\n"; $tmp =~ s/\S*$//; # random regex print "\$3=$3\n";
$3=three Use of uninitialized value in concatenation (.) or string at test line + 10. $3=
In reply to Re: RegExp help
by Fastolfe
in thread RegExp help
by karmas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |