Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: perlman.pl only works in the debugger under cygwin

by diamond (Acolyte)
on Feb 27, 2009 at 21:42 UTC ( [id://747033]=note: print w/replies, xml ) Need Help??


in reply to Re: perlman.pl only works in the debugger under cygwin
in thread perlman.pl only works in the debugger under cygwin

There is only one warning:
"my" variable $section masks earlier declaration in same scope at perl +man.pl line 179. Scouting man directories Starting UI ...Use of uninitialized value $id in hash element at /usr/ +lib/perl5/vendor_perl/5.10/i686-cygwin/Tk/After.pm line 39.
etc.

Removing the second my declaration does not change the result (nor should it, looking at the code).

I am puzzled as to how the debugger "fixes" the code. The implication from error messages is that an undefined value is being used where it is not permitted; how can the debugger fix that? In fact, it shouldn't. The reason I even tried the script in the debugger was to see where the problem was and to try to fix it.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://747033]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2024-04-25 08:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found