Skip Menu |

This queue is for tickets about the TryCatch CPAN distribution.

Report information
The Basics
Id: 79441
Status: new
Priority: 0/
Queue: TryCatch

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

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

Subject: Warning given for wrong line
Download (untitled) / with headers
text/plain 485b
An uninitialized value warning inside a try {} block can be reported with a line number that is incorrect, being several lines before the place where the warning happens. For example: use warnings; use TryCatch; if (0) { } try { my $y = (undef == 0); } This gives Use of uninitialized value in numeric eq (==) at test line 4. with perl 5.14. In this case the line number is only off by a couple (the == is on line 7) but in larger programs it can be wrong by a larger amount.

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

Please report any issues with to