Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime-Format-Strptime CPAN distribution.

Report information
The Basics
Id: 85772
Status: resolved
Priority: 0/
Queue: DateTime-Format-Strptime

Owner: Nobody in particular
Requestors: kwilliams [...]

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


Subject: Doc patch - clarify %[number]N docs
Download (untitled) / with headers
text/plain 209b
I spent a long time trying to figure out why I was getting a cryptic eval() error message, before I finally realized the brackets in %[number]N weren't literal, just for docs. The attached might help clarify.
Subject: 0001-Make-it-clear-that-the-brackets-themselves-aren-t-pa.patch
From 67b76f0be4fcf7a8c757b0b320a3342d710e41eb Mon Sep 17 00:00:00 2001 From: Ken Williams <> Date: Fri, 31 May 2013 18:05:36 +0000 Subject: [PATCH 1/2] Make it clear that the brackets themselves aren't part of the %[number]N format. --- lib/DateTime/Format/ | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/DateTime/Format/ b/lib/DateTime/Format/ index 0ec21be..f389ec6 100644 --- a/lib/DateTime/Format/ +++ b/lib/DateTime/Format/ @@ -1315,7 +1315,8 @@ Arbitrary whitespace. =item * %N -Nanoseconds. For other sub-second values use C<%[number]N>. +Nanoseconds. For other sub-second values use C<%[number]N>, where +C<[number]> is the number of digits (without the brackets). =item * %p --
Applied in git. Thanks.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to