@+ magic variable

Simon Wilcox essuu at ourshack.com
Thu Feb 15 15:22:01 GMT 2007

On Thu, 15 Feb 2007, Luis Motta Campos wrote:

>    Of course not.
>    You're interpolating an (empty) array named @+, that is not
> special, but stills an array.
>    I don't see any reason for perl warnings annoyance.

Paul's original point is that it behaves differently on 5.6.1 from 5.8.4.

In 5.6.1 s/@+$// appears to match a literal @ when we'd expect it not to.

Note that @+ is a special variable according to perlvar.


More information about the london.pm mailing list