Skip Menu |

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

Report information
The Basics
Id: 65553
Status: resolved
Priority: 0/
Queue: Devel-SlowBless

People
Owner: Nobody in particular
Requestors: ribasushi [...] leporine.io
Cc:
AdminCc:

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



Subject: Module ubusable without Carp loaded
rabbit@Thesaurus:~$ perl -MCarp -MDevel::SlowBless -E 'say "fine"' fine rabbit@Thesaurus:~$ perl -MDevel::SlowBless -E 'say "fine"' String found where operator expected at /home/rabbit/perl5/perlbrew/perls/5.12.3/lib/site_perl/5.12.3/i686-linux-thread-multi-64int-ld/Devel/SlowBless.pm line 63, near "Carp::cluck "[$pid] AMAGIC $amg_gen -> $cur_amg\n"" (Do you need to predeclare Carp::cluck?) String found where operator expected at /home/rabbit/perl5/perlbrew/perls/5.12.3/lib/site_perl/5.12.3/i686-linux-thread-multi-64int-ld/Devel/SlowBless.pm line 71, near "Carp::cluck "[$pid] SUB GEN $sub_gen - $cur_sub\n"" (Do you need to predeclare Carp::cluck?) syntax error at /home/rabbit/perl5/perlbrew/perls/5.12.3/lib/site_perl/5.12.3/i686-linux-thread-multi-64int-ld/Devel/SlowBless.pm line 63, near "Carp::cluck "[$pid] AMAGIC $amg_gen -> $cur_amg\n"" syntax error at /home/rabbit/perl5/perlbrew/perls/5.12.3/lib/site_perl/5.12.3/i686-linux-thread-multi-64int-ld/Devel/SlowBless.pm line 71, near "Carp::cluck "[$pid] SUB GEN $sub_gen - $cur_sub\n"" Compilation failed in require. BEGIN failed--compilation aborted.
Devel::SlowBless already had a "require Carp;" line. I've uploaded version 0.4 which adds parentheses around the Carp::cluck() call, hopefully that resolves the problem.