invoking a perl script with '#!/usr/perl -wd' in its first line and 
with  './myscript >t' on the command line, i get as below. i have done this 
kind of thing many times, but never with this result. also, the script runs 
fine if i drop '>t' from the invocation, or drop '-d' from the first line of 
the script.

========================================
$ ./myscript >t

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::(./myscript:12):          ;
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 /usr/lib/perl5/Term/ReadKey.pm line 343.
Compilation failed in require at /usr/share/perl5/Term/ReadLine/Perl.pm line 
58.
 at /usr/share/perl5/Term/ReadLine/Perl.pm line 58
        
Term::ReadLine::Perl::new('Term::ReadLine', 'perldb', 'GLOB(0x823a250)', 
'GLOB(0x81e5a8c)') 
called at /usr/share/perl/5.8/perl5db.pl line 6029
        DB::setterm called at /usr/share/perl/5.8/perl5db.pl line 2203
        DB::DB called at ./myscript line 12
Debugged program terminated.  Use q to quit or R to restart,
  use o inhibit_exit to avoid stopping after program termination,
  h q, h R or h o to get additional info.
  DB<1>
=========================================

thanks,

tom arnall
north spit, ca






-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to