Command Line Options In System()

2004-04-18 Thread Jason Dusek
Hi List, I have code that looks like this: # #:# #:#:#:#:# #:#:#:#:#:# my $funk = '/home/jdd/sbin/idlwave2outline.pl'; my $jam = '/home/jdd/sbin/outline2html.pl -p -t'; my $web_dir = '/home/jdd/www'; Stuff Happens #:#:#:#:#:# #:#:#:#:# #:# # # #:# #:#:#:#:# #:#:#:#:#:# su

Re: (OS=winxp) system cmd dies but performs the command

2004-04-18 Thread Harry Putnam
"Chance Ervin" <[EMAIL PROTECTED]> writes: > Looks like your slashes are pointed the wrong way. > Forward=unix > Back=dos > Thanks, but don't you think if that were the problem it would fail entirely ... but it actually creates the dir in the script. If it were an addressing problem, I don't thin

Re: (OS=winxp) system cmd dies but performs the command

2004-04-18 Thread Harry Putnam
"John W. Krahn" <[EMAIL PROTECTED]> writes: > Harry Putnam wrote: >> >> I'm not used to writing perl scripts on windows. I'm having a >> problem where a system call dies but still performs the command. >> I don't think I understand how exit status is checked. Thanks posters... yes you've all he

Re: (OS=winxp) system cmd dies but performs the command

2004-04-18 Thread R. Joseph Newton
Harry Putnam wrote: > I'm not used to writing perl scripts on windows. I'm having a > problem where a system call dies but still performs the command. > I don't think I understand how exit status is checked. > > my $target = "E:/some_dir/another_dir"; > system("mkdir $target") or die "Can't mkdi

Re: (OS=winxp) system cmd dies but performs the command

2004-04-18 Thread John W. Krahn
Harry Putnam wrote: > > I'm not used to writing perl scripts on windows. I'm having a > problem where a system call dies but still performs the command. > I don't think I understand how exit status is checked. Did you read the documentation for system()? perldoc -f system system() returns 0 (

Re: (OS=winxp) system cmd dies but performs the command

2004-04-18 Thread Chance Ervin
Looks like your slashes are pointed the wrong way. Forward=unix Back=dos --Chance - Original Message - From: "Harry Putnam" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, April 18, 2004 6:41 PM Subject: (OS=winxp) system cmd dies but performs the command > I'm not used to wr

(OS=winxp) system cmd dies but performs the command

2004-04-18 Thread Harry Putnam
I'm not used to writing perl scripts on windows. I'm having a problem where a system call dies but still performs the command. I don't think I understand how exit status is checked. my $target = "E:/some_dir/another_dir"; system("mkdir $target") or die "Can't mkdir $target: $!"; The script stop

please disregard - this is a test

2004-04-18 Thread Radhika Sambamurti
Please disregard this message - I am testing [EMAIL PROTECTED] I have changed my postfix configuration and havent been recieving any perl mail for awhile Thanks. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Missing sequence finder for logfiles

2004-04-18 Thread John W. Krahn
Sten Berg wrote: > > Another try > > Here is the logfile I tested on (I´ve marked were the loops starts): > LOGFILE > - > UNNUMBERED INFO > -- > #loop1: > Meas.Res. Nr > - value : 248 (fch) > Meas.Res. Nr > - value : 249 (fdh) > Meas.Res. Nr > - value : 250 (feh) > Mea

Re: perl almost an adult? [was: s/// w/o RE]

2004-04-18 Thread Jerry Rocteur
John W. Krahn wrote: Furrfu, kids today. When I starting programming in Perl there was one man page, no books and no web sites. :-) John But Tom Christiansen was there and whenever you ran a UNIX command he would tell you to do it in Perl and if you didn't know how, he'd show you even if