Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Mysterious script crash in win2k and ActivePerl

by batkins (Chaplain)
on Dec 14, 2002 at 12:12 UTC ( #219859=note: print w/replies, xml ) Need Help??


in reply to Mysterious script crash in win2k and ActivePerl

hmmm, are you SURE you're running the script from the command line? do you run cmd and then execute the cript? because if you are, the window shouldn't really ever close.

but anyway, redirecting STDERR is probably your best bet:

open(LOG, "+>log.txt"); *STDERR = *LOG; *STDOUT = *LOF; # just in case some errors go to STDOUT ...

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2019-11-11 21:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (63 votes). Check out past polls.

    Notices?