Skip Menu |

This queue is for tickets about the Devel-REPL CPAN distribution.

Report information
The Basics
Id: 42904
Status: resolved
Priority: 0/
Queue: Devel-REPL

People
Owner: OLIVER [...] cpan.org
Requestors: seb [...] univ-paris-diderot.fr
Cc:
AdminCc:

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



Subject: Nopaste plugin patch for undef value and error messages
Date: Thu, 29 Jan 2009 21:13:35 +0100
To: bug-Devel-REPL [...] rt.cpan.org
From: Stoned Elipot <seb [...] univ-paris-diderot.fr>
Hi, Devel-REPL's plugin Nopaste does not handle undef value and error messages. For example: $ uname -srm Darwin 9.6.0 i386 $ perl --version | head -2 This is perl, v5.10.0 built for darwin-thread-multi-2level $ re.pl --rcfile /dev/null $ $_REPL->load_plugin('Nopaste') 1 $ undef Use of uninitialized value $ret[0] in join or string at /usr/pkg/lib/perl5/vendor_perl/5.10.0/Devel/REPL/Plugin/Nopaste.pm line 39. $ foo Compile error: Bareword "foo" not allowed while "strict subs" in use at (eval 346) line 5. $ Attached you'll find a patch against Devel-REPL's svn repository trunk adding to the Nopaste plugin the ability to handle undef value and error message. Cheers, Stoned.

Message body is not shown because sender requested not to inline it.

On Thu Jan 29 15:14:35 2009, seb@univ-paris-diderot.fr wrote: Show quoted text
> Attached you'll find a patch against Devel-REPL's svn repository trunk > adding to the Nopaste plugin the ability to handle undef > value and error message.
Okay, many thanks. Patch applied and should be in the next 1.3.3 release. regards, oliver.