@+ magic variable

Simon Wilcox essuu at ourshack.com
Thu Feb 15 14:03:40 GMT 2007

On Thu, 15 Feb 2007, Rafael Garcia-Suarez wrote:

> In 5.6.1. However in 5.8.0 array began to always interpolate in double
> quoted strings. Did you have warnings on ?

Warnings apparently make no difference:


use strict;
use warnings;

my $str='padding@@@';
$str =~ s/@+$//g;
print "$str\n";

simonw at kryten:~/perl$ perl -v

This is perl, v5.8.4 built for i386-linux-thread-multi

[snip copyright]

simonw at kryten:~/perl$ perl magic.pl

[simonw at morpheus simonw]$ perl -v

This is perl, v5.6.1 built for i386-linux

[snip copyright]

[simonw at morpheus simonw]$ perl magic.pl


More information about the london.pm mailing list