Robert Citek wrote:
> 
> Can someone show me an example of how I can mix long and short options with
> Getopt?
> 
> I would like to pass options to a perl script that can take both short and
> long options.  For example, all of these commands work (this is GNU tar):
>   # tar -tzvf foo.tar.gz
>   # tar --list zvf foo.tar.gz
>   # tar --list --ungzip -vf foo.tar.gz
>   # tar --list -z --verbose -f foo.tar.gz
>   # tar --list --ungzip --verbose -f foo.tar.gz
>   # tar --list --ungzip --verbose --file foo.tar.gz
> 
> Any examples of how to mix long and short options or pointers to example
> would be greatly appreciated.

perldoc Getopt::Long


John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to