Usage of --help and --version in getopts()
From: Hans van Vooren (Hans.van.Vooren_at_gmx.net)
Date: 05/27/04
- Previous message: Joe Smith: "Re: Stat() function fails?"
- Next in thread: Jim Gibson: "Re: Usage of --help and --version in getopts()"
- Reply: Jim Gibson: "Re: Usage of --help and --version in getopts()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 May 2004 02:08:00 -0700
Hi,
this is probably an easy question: I would like to use the --version
and --help features of getopts(), but despite the description on
perldoc.com I can't make it work. My script just gives out the
'Unknown option' warnings when I call
'foo.pl --help'. Can anyone help, maybe give an example?
Hans van Vooren
- Previous message: Joe Smith: "Re: Stat() function fails?"
- Next in thread: Jim Gibson: "Re: Usage of --help and --version in getopts()"
- Reply: Jim Gibson: "Re: Usage of --help and --version in getopts()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]