in reply to RE: Re: URL's
in thread URL's
It's a matter of personal preference -- just don't neglect the check! Note also that the regex may run faster without the .* at the start (backtracking can be expensive).my $quote = ""; if ($source =~ /last: ([0-9.]+)/i;) { $quote = $1; } else { # do the Not Found Dance }
|
|---|