Something that just crossed my mind and turned out to behave like I didn't expect:
perl -le 'sub x { my @x = qw(a b c); my @y = qw(A B C D); return (@x, +@y)} my $r = x(); print $r' 4
Must say it made me LOL :-)
In reply to Re^3: regexp list return 5.6 vs 5.8
by Sixtease
in thread regexp list return 5.6 vs 5.8
by Sixtease
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |