I added a -d to the first (bang) line of a Perl program I've been
running
for years, because I wanted to look at how it's been acting funny
lately.
This was what I got when I tired to start the program:
------------------------------------------------------
dual-1-25:/Documents/Ours/logs/bin $ ./list_db_all>../to_excel/
exc1081103.txt
Loading DB routines from perl5db.pl version 1.28
Editor support available.
Enter h or `h h' for help, or `man perldebug' for more help.
main::(./list_db_all:56): our $bigpack = 'dI'.FIXED_CTS.'d'.CELLS_PER;
Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The
COLUMNS and LINES environment variables didn't work. The resize
program didn't work. at /System/Library/Perl/Extras/5.8.8/darwin-
thread-multi-2level/Term/ReadKey.pm line 362.
Compilation failed in require at /Library/Perl/5.8.6/Term/ReadLine/
Perl.pm line 63.
at /Library/Perl/5.8.6/Term/ReadLine/Perl.pm line 63
Term::ReadLine::Perl::new('Term::ReadLine', 'perldb', 'GLOB
(0x811ef4)', 'GLOB(0x812b9c)') called at /System/Library/Perl/5.8.8/
perl5db.pl line 6029
DB::setterm called at /System/Library/Perl/5.8.8/perl5db.pl line 2203
DB::DB called at ./list_db_all line 56
Debugged program terminated. Use q to quit or R to restart,
-------------------------------------------------------
The line 56 that is referenced is the first Perl statement in the
program,
other than comments and use (particularly use constant).
To me it looks like Perl is a bit funged up.
Does anyone have any suggestions how to unfung it?
Thanks for being there,
Craig MacKenna
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/