Skip Menu |

This queue is for tickets about the Text-Template CPAN distribution.

Report information
The Basics
Id: 31774
Status: resolved
Priority: 0/
Queue: Text-Template

Owner: Nobody in particular
Requestors: wolfman.ncsu2000 [...]

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

Subject: Text::Template Bug with Perl 5.10?
Date: Thu, 20 Dec 2007 18:26:11 -0500
To: bug-Text-Template [...]
From: Wolfman2000 <wolfman.ncsu2000 [...]>
Download (untitled) / with headers
text/plain 513b
I am trying to install Text::Template 1.44 using CPAN. I am running perl 5.10.0, with uname -a showing this: Darwin Wolfman2000s-MacBook- Pro.local 9.1.0 Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT 2007; root:xnu-1228.0.2~1/RELEASE_I386 i386 The error I'm getting is located here: One particular test is failing: t/09-error.........Illegal value `WLUNCH' for TYPE parameter at t/09-error.t line 41 I am unsure how to fix this. Please look into this. Wolfman2000
From: lidden [...]
Download (untitled) / with headers
text/plain 232b
This is because: my $foo = q{Illegal value `WLUNCH' for TYPE parameter}; if ($foo =~ /^\QIllegal value \`WLUNCH\' for TYPE parameter/) { print "Yo\n"; } else { print "No\n"; } Works differently in perl-5.8.8 and perl-5.10.0

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

Please report any issues with to