RE: PERL Question

2002-12-19 Thread Burak Gürsoy
ginal Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mark Bergeron Sent: 19 Aralik 2002 Persembe 02:44 To: $Bill Luebkert; David Stoltz Cc: [EMAIL PROTECTED] Subject: Re: Re: PERL Question Bill is right of course. However, if you’re running IIS, which I think you are the

Re: Re: PERL Question

2002-12-18 Thread Mark Bergeron
L PROTECTED]> Cc: [EMAIL PROTECTED] Date: Wed Dec 18 14:21:40 PST 2002 Subject: Re: PERL Question >David Stoltz wrote: >> I'm a PERL newbie, and have a pretty simply question. >> >> I am running a Windows 2000 server, with Active States latest version of >> &qu

Re: PERL Question

2002-12-18 Thread $Bill Luebkert
David Stoltz wrote: I'm a PERL newbie, and have a pretty simply question. I am running a Windows 2000 server, with Active States latest version of "ActivePerl" running on it... I have a line in a script I need to modify: !/usr/bin/perl -w ~needs to point to d:\perl What's the right syntax?

Re: Perl question

2001-01-09 Thread Will W
- Original Message - From: Cornish, Merrill <[EMAIL PROTECTED]> To: Dave Navarro <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, January 09, 2001 9:17 AM Subject: RE: Perl question > die() throws an exception. If there is nothing there to catch that &

RE: Perl question -

2001-01-09 Thread Naftel, Bill S
[EMAIL PROTECTED]] Sent: Tuesday, January 09, 2001 12:17 PM To: "Dave Navarro" ; "[EMAIL PROTECTED]" Subject: RE: Perl question die() throws an exception. If there is nothing there to catch that exception, then the program ends. If there is an exception handler, then

Re: Perl question

2001-01-09 Thread Carl Jolley
On Tue, 9 Jan 2001, Dave Navarro wrote: > Does "die" just end a function or does it end the entire script? > To "end" a function use the return command. The die function will write a message to STDERR and exit the entire script. [EMAIL PROTECTED] All opinions are my own and not neces

RE: Perl question

2001-01-09 Thread Ron Hartikka
rn "even"; } It prints: 1 is odd. 2 is even. 3 is odd. 4 is even. 5 is odd. 6 is even. 7 is odd. 8 is even. 9 is odd. 10 is even. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Cornish, Merrill Sent: Tuesday, January 09, 2001 12:18 PM To: Da

RE: Perl question

2001-01-09 Thread Cornish, Merrill
die() throws an exception. If there is nothing there to catch that exception, then the program ends. If there is an exception handler, then the die() can be stopped there, such as at the function call. You use eval() to step up exception handlers. If, however, you are merely looking for an escap

RE: Perl question ...

2000-10-18 Thread Robert Friberg
Hi, You have a problem with buffering. Use open with a pipe and set $| to turn off buffering om both filehandles. open HND, "$ToolsDir/bin/tk_mirror $firm $flags|" or die $!; my $oldfh = select HND; $|++; select LOG; $|++; select $oldfh; print LOG $_ while(); hth, Robert Fribe