Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CGI CPAN distribution.

Report information
The Basics
Id: 83360
Status: resolved
Priority: 0/
Queue: CGI

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

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

Subject: errors setting custom message not displayed by CGI::Carp v3.51
Date: Fri, 15 Feb 2013 17:39:23 +0000
To: [...]
From: "Callum D. Campbell" <callum [...]>
Download (untitled) / with headers
text/plain 1.4k
Hi. While trying to debug one of my own scripts I came across what I believe to be a small typo in CGI::Carp v3.51. Line 551 prints a literal '$@' rather than expanding it: 548: eval { 549: &$CUSTOM_MSG($msg); # nicer to perl 5.003 users 550: }; 551: if ($@) { print STDERR q(error while executing the error handler: $@); } The modification below has fixed my local copy: 551: if ($@) { print STDERR qq(error while executing the error handler: $@); } HTH Regards, Callum. -- Callum D. Campbell Senior Systems Administrator Iomart Group PLC Tel: +44 (0) 141 931 6400 Fax: +44 (0) 141 931 6401 Web: please don't print this e-mail unless you really need to ************** Legal Disclaimer ************** The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential material. If you have received this in error, please contact the sender immediately and delete the material from any computer. It is expressly declared that this email does not constitute or form part of a contract or unilateral obligation. iomart Group PLC. Reg No: SC204560. Reg Office: Lister Pavilion, Kelvin Campus, West of Scotland Science Park, Glasgow G20 0SP *********************************************************************** Show quoted text
___________________________________________ This email has been scanned by iomartcloud.
Subject: Re: [ #83360] errors setting custom message not displayed by CGI::Carp v3.51
Date: Thu, 21 Feb 2013 09:45:37 -0500
To: [...]
From: Mark Stosberg <mark [...]>
I agree this looks like a bug. Mark
Download (untitled) / with headers
text/plain 241b
This issue has been copied to: please take all future correspondence there. This ticket will remain open but please do not reply here. This ticket will be closed when the github issue is dealt with.
Download (untitled) / with headers
text/plain 374b
commit 940cd3a992ed440e9e16d187ac056bb97e51f856 Author: Lee Johnson <> Date: Sat Sep 20 16:11:14 2014 +0100 resolve #113 [ #83360] - fix typo in q( should be qq( so $@ is correctly interpolated in the error message displayed on STDERR Changes | 1 + lib/CGI/ | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)

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

Please report any issues with to