Are you using use strict; and use warnings;? Do they output anything? Does anything output anything prior to the hang? Have you tried putting print statements around what you believe is the problematic code to see what is going on? What OSs are we talking about here?
Please provide us some code to look at. Also, after you've ensured strict, warnings are in effect (to rule out anything silly, like an undefined variable), put a line like this: $DB::single = 1; directly above the code that you think is hanging, then on the command line, run your script with perl -d script.pl. This will open the debugger. Press c to 'continue' to the line that you put $DB::single = 1; on. Next, press s. This will 'step' through each line, and display the actual line of code prior to executing it. Keep hitting s until you have it hang, then post the lines of code just prior to it breaking.
In reply to Re: $ENV{HTTPS_PROXY} works in one environment but not another
by stevieb
in thread $ENV{HTTPS_PROXY} works in one environment but not another
by bigdatageek
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |