----- Original Message -----
From: "F.Xavier Noria" <[EMAIL PROTECTED]>
> : By the way, would you explain the meaning of $+[1] ?
> : Is this a not documented perlvar @+ ?
>
> perldoc perlvar
> /LAST_MATCH_END
Thanks, but then, I'll reformulate my question :
I know $+, and I know Perldoc ;) , but I don't understand the $+[1] syntax
....
And I'm not sure that $+ refers to LAST_MATCH_END in this context, as this
script :
#!perl -l
(1x pop)=~/^(1+)\1+$(?{print "\$_=$_\t\$+=$+\t\@+=(".(join
",",@+).")";$x+=$+[1]})./;print$x
outputs the following :
$_=111111111 $+=111 @+=(9,3)
$_=111111111 $+=1 @+=(9,1)
4
So I keep asking : what does @+ mean ?
thanks for the effort anyway FX. ;)
--
|3eno�t