in reply to Re: Comparing strings to reduce excess results
in thread Comparing strings to reduce excess results
It depends
warn $_ for "one" =~ /./; warn $_ for "two" =~ /./g; warn $_ for scalar "two" =~ /./g; __END__ 1 at - line 1. t at - line 2. w at - line 2. o at - line 2. 1 at - line 3.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Comparing strings to reduce excess results
by Sewi (Friar) on Sep 15, 2009 at 07:29 UTC |