Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 29956
Status: resolved
Priority: 0/
Queue: Devel-ebug

People
Owner: Nobody in particular
Requestors: peter [...] makholm.net
Cc:
AdminCc:

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



Subject: Fails to debug script whit an -l on shebang line
When debugging a script which uses -l on the shebang line ebug complains about use of uninitialized value in concatenation at line 52: makholm@iLinux:/tmp$ ebug broken.pl * Welcome to Devel::ebug 0.48 Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Devel/ebug/Console.pm line 52, <GEN1> line 2. Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Devel/ebug/Console.pm line 52, <GEN1> line 2. Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Devel/ebug/Console.pm line 52, <GEN1> line 2. Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Devel/ebug/Console.pm line 52, <GEN1> line 2. (#): ebug: s Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Devel/ebug/Console.pm line 52, <GEN1> line 4. Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Devel/ebug/Console.pm line 52, <GEN1> line 4. Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Devel/ebug/Console.pm line 52, <GEN1> line 4. Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Devel/ebug/Console.pm line 52, <GEN1> line 4. (#): ebug: With the -l flag ebug works fine.
Subject: broken.pl
#!/usr/bin/perl -l my @a = (3, 6, 2, 19, 5); for $n (sort { $a <=> $b } @a) { print $n; }