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: 85773
Status: resolved
Priority: 0/
Queue: DateTime-Format-Strptime

People
Owner: Nobody in particular
Requestors: kwilliams [...] cpan.org
Cc:
AdminCc:

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

Attachments
0002-The-multi-line-qq-.-seems-to-confuse-cperl-mode-badl.patch



Subject: Minor patch - change qq|...| to here-doc
Download (untitled) / with headers
text/plain 293b
cperl-mode, at least the version I have installed, doesn't seem to like qq|...| at all, because it never finds the ending '|' or something. This patch changes it to a here-doc (and also fixes a hidden couple of tabs). If you don't like the patch, no sweat, just thought I'd share it in case.
Subject: 0002-The-multi-line-qq-.-seems-to-confuse-cperl-mode-badl.patch
From a2d82169a743472476e7ca314d1495510458658b Mon Sep 17 00:00:00 2001 From: Ken Williams <Ken.Williams@WindLogics.com> Date: Fri, 31 May 2013 18:06:32 +0000 Subject: [PATCH 2/2] The multi-line qq|...| seems to confuse cperl-mode badly - change to <<EOF here-doc. --- lib/DateTime/Format/Strptime.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/DateTime/Format/Strptime.pm b/lib/DateTime/Format/Strptime.pm index f389ec6..3247a6e 100644 --- a/lib/DateTime/Format/Strptime.pm +++ b/lib/DateTime/Format/Strptime.pm @@ -272,10 +272,10 @@ sub parse_datetime { die $@ if $@; if ( $self->{diagnostic} ) { - print qq| + print <<EOF; Entered = $time_string -Parser = $parser +Parser = $parser dow_name = $dow_name month_name = $month_name @@ -303,7 +303,7 @@ epoch = $epoch iso_week_year = $iso_week_year iso_week_year_100 = $iso_week_year_100 - |; +EOF } -- 1.8.0.1
Applied in git. Thanks.


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.