command-line-arguments

How do I call pod2usage using my caller's documentation?

I'd like to be able to call pod2usage in a method that encapsulates a lot of standardized command line argument handling, but I can't see how I'd be able to put that handling into a separate module and have the pod2usage output be the documentation from the calling file. Is this possible? ...

How to access argv[] from outside the main() function?

Hello, I happen to have several functions which access different arguments of the program through the argv[] array. Right now, those functions are nested inside the main() function because of a language extension the compiler provides to allow such structures. I would like to get rid of the nested functions so that interoperability is p...