Stefan `Sec` Zehl:
> The shortest test case i found is:
> 
> | ice:~>echo a |perl5.6.1 -we 'print "$1"'
> | Use of uninitialized value in string at -e line 1.
> | ice:~>echo a |perl5.6.1 -we 'print "$1\n"'
> | 
> | ice:~>echo a |perl5.6.1 -we 'print ".$1\n"'
> | Use of uninitialized value in concatenation (.) or string at -e line 1.

Shorter:

 % perl -we 'print "x$1"';
Use of uninitialized value in concatenation (.) or string at -e line 1.
x
 % perl -we 'print "$1x"';
x

And, no, I can't explain it at all. Although I hear that 5.6.0 has both
warn.

-- 
LARTing lusers is supposed to be satisfying. This is just tedious. The
silly shite I'm doing now is like trying to toothpick to death a Black
Knight made of jelly.
    - Red Drag Diva

Reply via email to