Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have written a shell function "pscnt" in .profile. But I could NOT call this shell fuction in my perl script using system, exec or ``.
Here is the code,
Could you please help me on this?$running = `pscnt $inv_app_name $parameter`;
Janitored by holli - removed <pre>-tags
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Calling Shell funtion in Perl script
by mda2 (Hermit) on May 24, 2005 at 15:18 UTC | |
by Anonymous Monk on May 24, 2005 at 15:36 UTC | |
by ambrus (Abbot) on May 24, 2005 at 20:37 UTC | |
Re: Calling Shell funtion in Perl script
by northwind (Hermit) on May 24, 2005 at 15:12 UTC | |
by davidrw (Prior) on May 24, 2005 at 15:19 UTC | |
by blazar (Canon) on May 24, 2005 at 15:20 UTC | |
by Anonymous Monk on May 24, 2005 at 15:19 UTC | |
by davidrw (Prior) on May 24, 2005 at 15:21 UTC | |
by northwind (Hermit) on May 24, 2005 at 15:23 UTC |