Re: vague error message

2008-01-08 Thread Chris Rodriguez
John Mason Jr [EMAIL PROTECTED] wrote: Chris Rodriguez wrote: Hi everybody, I've been getting an error message I don't know what to do about: Perl has caused an error in PERL58.DLL. Perl will now close. If you continue to experience problems, try restarting your computer. It doesn't

vague error message

2008-01-04 Thread Chris Rodriguez
Hi everybody, I've been getting an error message I don't know what to do about: Perl has caused an error in PERL58.DLL. Perl will now close. If you continue to experience problems, try restarting your computer. It doesn't appear within the DOS window (I believe

RE: control M's

2007-06-26 Thread Chris Rodriguez
the file in ASCII mode when going from windows to unix or vice versa. This will automatically remove any CR's. http://en.wikipedia.org/wiki/Newline#Common_problems Jack From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Rodriguez Sent: Monday

control M's

2007-06-25 Thread Chris Rodriguez
Hi everyone, I wrote a cgi script in PERL which won't execute. I'm told it's because I have control M's at the end of each line, and that this happens when editing programs in Windows (which I do, with Notepad). I found a free program on the web

Re: Redirecting STDOUT

2007-04-01 Thread Chris Rodriguez
Bill Luebkert [EMAIL PROTECTED] wrote: Chris Rodriguez wrote: Hi everyone, I saw the following on another PERL list-serve: If you are on windows, then see perlfaq8 if ActiveState perl for how to redirect STDOUT and STDERR when doing backticks. I'd like to be able to capture STDOUT

Redirecting STDOUT

2007-03-30 Thread Chris Rodriguez
Hi everyone, I saw the following on another PERL list-serve: If you are on windows, then see perlfaq8 if ActiveState perl for how to redirect STDOUT and STDERR when doing backticks. I'd like to be able to capture STDOUT as a string. But nothing on perlfaq8 struck me as relevant. Did I miss

Re: checking for infinite loops

2007-03-04 Thread Chris Rodriguez
Hi all, Thanks very much to everyone for this list-serve, and especially to Rob and Bill for helping me so much with this. I'm basically using Bill's code (below) and I have it doing what I want. So yay, mission accomplished, basically, but two peculiar glitches gum things up and

Re: checking for infinite loops

2007-02-01 Thread Chris Rodriguez
] wrote: - Original Message - From: Chris Rodriguez . . for($number = 1; $number 5; $number +=1) { $ProgramName = infinite . $number . .pl; eval { local $SIG{ALRM} = sub { die $ProgramName timed out\n }; alarm 9; require $ProgramName or die Require failed\n

Re: checking for infinite loops

2007-01-28 Thread Chris Rodriguez
it. Another way to do it is with Win32::Process and then kill them after some time span. At 01:35 PM 1/26/2007 -0800, Chris Rodriguez wrote: Hello, I have a program that runs other programs (through require statements and what not). There's a problem in that some of these sub-programs may have infinite

checking for infinite loops

2007-01-26 Thread Chris Rodriguez
. How might I do that? The alarm function seemed to be the way to go - but not with Windows. Can I do something with wait and create? Any other ideas? Thank you, Chris Rodriguez - Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite