$+: The text matched by the last bracket of the last successful search pattern.
I don't see any parens in there.
orif ($frameDesc =~ /(\d+)$/ ) { print FH "FTP $1\n"; } else { print FH "FTP 0\n"; }
my $num = $frameDesc =~ /(\d+)$/ ? $1 : 0; print FH "FTP $num\n";
In reply to Re: where is /\d+$/ result??
by ikegami
in thread where is /\d+$/ result??
by rightfield
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |