You could turn it around so that the previous stuff is the command line for the Perl script then use system to execute the other stuff.
In reply to Re: Collecting a piped command line
by GrandFather
in thread Collecting a piped command line
by sweetser
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |