You are not logged in.

#1 2017-02-28 11:15:52

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 189

Perl debug error

$ perl --version                                    

This is perl 5, version 24, subversion 1 (v5.24.1) built for x86_64-linux-thread-multi

I'm trying to debug a perl script but:

$ perl -d .config/argos/gmail-checker-improved.1m.pl

Loading DB routines from perl5db.pl version 1.49_05
Editor support available.

Enter h or 'h h' for help, or 'man perldebug' for more help.

main::(.config/argos/gmail-checker-improved.1m.pl:18):
18:	my $url = 'https://mail.google.com/mail/feed/atom';
Cannot do `initialize' in Term::ReadLine::Gnu at /usr/share/perl5/core_perl/perl5db.pl line 6864.
 at /usr/lib/perl5/site_perl/Term/ReadLine/Gnu.pm line 808.
	Term::ReadLine::Gnu::AU::AUTOLOAD(Term::ReadLine=HASH(0x1511c10)) called at /usr/lib/perl5/site_perl/Term/ReadLine/Gnu.pm line 264
	Term::ReadLine::Gnu::new("Term::ReadLine", "perldb", GLOB(0x897580), GLOB(0x860fa8)) called at /usr/share/perl5/core_perl/perl5db.pl line 6864
	DB::setterm() called at /usr/share/perl5/core_perl/perl5db.pl line 1845
	DB::_DB__read_next_cmd(undef) called at /usr/share/perl5/core_perl/perl5db.pl line 2782
	DB::DB called at .config/argos/gmail-checker-improved.1m.pl line 18
Cannot do `initialize' in Term::ReadLine::Gnu at /usr/share/perl5/core_perl/perl5db.pl line 6864.
END failed--call queue aborted.
 at .config/argos/gmail-checker-improved.1m.pl line 0.

Why Perl debugger fails? Any idea?

Offline

Board footer

Powered by FluxBB