Skip Menu |

This queue is for tickets about the Carp CPAN distribution.

Report information
The Basics
Id: 107225
Status: new
Priority: 0/
Queue: Carp

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

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

Subject: Carp::longmess() prints “1” when given an object as first argument
Date: Mon, 21 Sep 2015 14:19:44 -0500
To: bug-Carp [...]
From: Felipe Gasper <felipe [...]>
Download (untitled) / with headers
text/plain 284b
Show quoted text
> perl -MCarp -e'package Thing; sub new { bless [] }; package main;
print scalar Carp::longmess(Thing->new())' 1 ============== This is sort of alluded to in the docs, but the docs say that it calls warn() or die(); this is just printing “1”, which is pretty unhelpful. -FG

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

Please report any issues with to