Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: only works in the debugger under cygwin

by webfiend (Vicar)
on Feb 27, 2009 at 18:03 UTC ( #746980=note: print w/replies, xml ) Need Help??

in reply to only works in the debugger under cygwin

This looks like some fairly crusty old code. You probably are better off with the suggestion of using something else. Nevertheless, I am curious. Do you get any information running this script with warnings enabled?

  • Comment on Re: only works in the debugger under cygwin

Replies are listed 'Best First'.
Re^2: only works in the debugger under cygwin
by diamond (Acolyte) on Feb 27, 2009 at 21:42 UTC
    There is only one warning:
    "my" variable $section masks earlier declaration in same scope at perl 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/ line 39.

    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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://746980]
[Corion]: I found Android Studio quite nice as a Java IDE, but then, I didn't try anything serious with it
[chacham]: it is a nice ide. its just that upgrading it always causes issues with mismatched versions of whatever
[Corion]: chacham: Oh, yes, reinstalling all the SDK versions and Gradle and whatnot, yes, even in the short time I used it (2 weeks?) I felt that pain
[chacham]: right now im editing the versions in the applications gradle file to use a version it wants. sheesh.
[Corion]: Ow, "but you're not supposed to do that" ;)

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2017-03-29 07:58 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (344 votes). Check out past polls.