Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: getopts help

by TomDLux (Vicar)
on Aug 11, 2011 at 15:10 UTC ( [id://919893]=note: print w/replies, xml ) Need Help??


in reply to getopts help

Ooops, missed the mention of getopts.pl. The methods below still work ... the file begins with the following text. Note that Perl5 has been around since 1994 or thereabouts. Using Perl4 code is kinda like using a telephone with a crank which rings a bell to get the operator's attention.

# This library is no longer being maintained, and is included for back +ward # compatibility with Perl 4 programs which may require it.

Your program has a use XXX line for some options module which provides that Getopts(). You can use perldoc Module::Name in a terminal window, or browse to CPAN.org and search for the module name, or you can google the name, or perhaps your IDE will show you the documentation.

Read it.

Come back here if there's anything it doesn't explain.

As Occam said: Entia non sunt multiplicanda praeter necessitatem.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://919893]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-04-19 00:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found