|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: calling perl script from shell scriptby redlemon (Hermit) |
| on Mar 26, 2004 at 09:31 UTC ( [id://340023]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
apart from forgetting a fi, your using the wrong braces:
(something) calls "something" in a subshell, which always returns true. The syntax you're looking for is:
or alternatively Use square braces in stead of round ones. finally, it might be easier to use:
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||