Skip Menu |

This queue is for tickets about the P CPAN distribution.

Report information
The Basics
Id: 89058
Status: resolved
Priority: 0/
Queue: P

People
Owner: Nobody in particular
Requestors: zefram [...] fysh.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



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
Fixed in 1.1.0 Prototype changed as well as making listed example using indirect method work.