Mon Sep 30 08:34:00 2013zefram [...] fysh.org - Ticket created
Subject:
"P STDERR" example doesn't work
Date:
Mon, 30 Sep 2013 13:33:39 +0100
To:
bug-P [...] rt.cpan.org
From:
Zefram <zefram [...] fysh.org>
Example usage taken from P's man page's "MORE EXAMPLES" section:
$ perl -lwe 'use P; @a = ("Hello %s", "World"); P STDERR, @a'
Useless use of a variable in void context at -e line 1.
Can't locate object method "P" via package "IO::File" at -e line 1.
It works as intended if "STDERR" is replaced with "\*STDERR".
-zefram
Tue Nov 05 23:47:36 2013pause [...] tlinx.org - Severity Important added
Tue Nov 05 23:47:36 2013pause [...] tlinx.org - Correspondence added
Fixed in 1.1.0
Prototype changed as well as making listed example using indirect method work.
Tue Nov 05 23:47:37 2013The RT System itself - Status changed from 'new' to 'open'
Tue Nov 05 23:47:37 2013pause [...] tlinx.org - Status changed from 'open' to 'resolved'