On an XP laptop, using ActiveState, I was "cleaning up" and when I finished, my perl will not run in -d mode.
I suspect I've deleted something I didn't realize I needed.
I downloaded the build again from AS & reinstalled it into a diff dir (AS_Perl588), but it was no help.
perl FileScan.pl works fine,
but when I try the -d arg,
I get the following set of messages.
C:\Dev\Perl_Dev>perl -d FileScan.pl<br>
Loading DB routines from perl5db.pl version 1.3<br>
Editor support available.<br>
Enter h or `h h' for help, or `perldoc perldebug' for more help.<br>
main::(FileScan.pl:15): $Mode = ""; # Mode = "" Off, "U" Unatten
+ded, "D" Debug<br>
Unable to get Terminal Size. The Win32 GetConsoleScreenBufferInfo call
+ didn't work. <br>The COLUMNS and LINES environment variabl
es didn't work. <br>The resize program didn't work. at C:/AS_Perl588/l
+ib/Term/ReadKey.pm line 362.<br>
Compilation failed in require at C:/AS_Perl588/lib/Term/ReadLine/Perl.
+pm line 64.<br>
at C:/AS_Perl588/lib/Term/ReadLine/Perl.pm line 64
Term::ReadLine::Perl::new<br>('Term::ReadLine', 'perldb', 'GLO
+B(0x19223e4)', 'GLOB(0x18beb18)') called at C:/AS_Perl588/l
ib/perl5db.pl line 6066<br>
DB::setterm called at C:/AS_Perl588/lib/perl5db.pl line 2238<b
+r>
DB::DB called at FileScan.pl line 15<br>
Debugged program terminated. Use q to quit or R to restart,<br>
use o inhibit_exit to avoid stopping after program termination,<br>
h q, h R or h o to get additional info.<br>
DB<1> q<br>
1-Can someone see where I went wrong & bail me out.
2-Should messages like this be in <some type of> tags?
Thanks.
UPDATE: Included Code tags.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.