[ale] perl -e

Lists lists at serioustechnology.com
Wed May 7 09:34:47 EDT 2014


So, I've written a perl subroutine that uses getopts. I can call this subroutine from a perl script fine. What is like to do is call it from a shell script via 'perl -e'. I know I can pass parms to the subroutine as such:

perl -e '...' Args here

And the routine will see them via ARGV. If I try to pass flags (-f) they are apparently passed to perl rather than the module. 

Solutions?

Geoffrey Myers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20140507/391a078a/attachment.html>


More information about the Ale mailing list