[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] perl -e



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>