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: 100424
Status: resolved
Priority: 0/
Queue: Devel-ebug

People
Owner: awwaiid [...] thelackthereof.org
Requestors: 1dvwx+ffjo [...] guerrillamail.com
Cc:
AdminCc:

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



Subject: $/ breaks both console and API (Fix included)
Date: Tue, 18 Nov 2014 12:15:42 +0000
To: "bug-Devel-ebug [...] rt.cpan.org" <bug-Devel-ebug [...] rt.cpan.org>
From: <1dvwx+ffjo [...] guerrillamail.com>
See: http://www.perlmonks.org/?node_id=1107549 Changing $/ like so open ( TEXT, "file.txt" ); local $/ = undef; binmode TEXT; my $text = <TEXT>; causes the console to just stop accepting commands, same with using Devel::ebug in code. Quick fix thanks to Corion: --- BROKEN +++ FIXED @@ -138,6 +138,7 @@ sub get { exit unless $context->{socket}; + local $/= "\n"; my $data = $context->{socket}->getline; my $req = Load(pack("h*", $data)); push @{ $context->{history} }, $req ---- Sent using GuerrillaMail.com Block or report abuse: https://www.guerrillamail.com/abuse/?a=Q1RzSCkFVbEZxQu25Xk%2FYACJTtqR3Jlf1aM%3D
This has been fixed in 0.57, going out now.