2mths has asked for the wisdom of the Perl Monks concerning the following question:
Wibble: The command I am running is “\nsr\bin>sjimm scsidev@6.6.0 slot X slot Y”#!c:/perl/bin/perl -w if ($result=`.\path\command`) { print "Successful\n" ; &doSomethingIfNecessary(); } else { print "Unsuccessful\n" ; &ohDearTimeToDie(); } exit 0;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Successful returns Unsuccessful
by jasonk (Parson) on Mar 10, 2003 at 15:12 UTC | |
|
Re: Successful returns Unsuccessful
by Tomte (Priest) on Mar 10, 2003 at 15:14 UTC | |
|
Re: Successful returns Unsuccessful
by zby (Vicar) on Mar 10, 2003 at 15:17 UTC | |
|
Re: Successful returns Unsuccessful
by 2mths (Beadle) on Mar 10, 2003 at 15:40 UTC | |
by g30fish (Novice) on Mar 10, 2003 at 17:43 UTC |