in reply to Odd behavior of non-array symbolic references with $# (was : array)
-derby
Doh: @+ (which is what $#{$var} is when $var is '+') is a perl predefined var that contains offsets of successful matches. Do you have a regex before this code? Check out perlvar for more on @+
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: array
by hotshot (Prior) on Apr 23, 2002 at 12:08 UTC |