|Perl Monk, Perl Meditation|
Re: system command with arguments Errorby blue_cowdawg (Monsignor)
|on Jan 07, 2013 at 19:15 UTC||Need Help??|
boo hiss! I hate seeing one Perl script calling another. Sloppy...
What might help you out is to do one of two things in descending levels of difficulty:
you'd actually have to wrap the logic in some fashion that makes sense. For instance, here's a small Perl script I want to convert.
which could become:
You could then invoke it as:
the important part is the use lib part which causes Perl to look for your module where it lives. In this case I'm saying the same place the script lives. You could also do
Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg