Skip Menu |

This queue is for tickets about the P CPAN distribution.

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

People
Owner: pause [...] tlinx.org
Requestors: l.mai [...] web.de
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.0.20
Fixed in: (no value)



Subject: broken array example
The MORE EXAMPLES section contains this: @a = ("%s", "my string"); # using array, fmt as 1st arg P @a; @a = ("Hello %s", "World"); # format in array[0] P @a; P @a; # prints 1st of @a elements (Hello %s) 1) The last two lines are identical. Copy/paste error? 2) The last comment is wrong. The code doesn't print "Hello %s". 3) In fact, the last example contradicts the first one (they're the same code!).
fixed in v1.1.0 version