Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Using getopt::Long

by TomDLux (Vicar)
on Mar 13, 2014 at 02:58 UTC ( #1078115=note: print w/replies, xml ) Need Help??


in reply to Using getopt::Long

on your machine at home/work, you can type into a terminal window / command window:

perlodc Getopt::Long

to view the documentation in the file. ( I don't run windows, so there may be more to it on those platforms). Or you can browse to metacpan.org, search for the module you're interested in, and read the documentation there. It describes exactly the situation you're asking about.

I suspect you're thinking about interrupt handlers, where you're advised to keep the code short, not call too many other routines, to avoid complications. Nothing like that here, Your program can call A, B, or C, do various work for hours, and never even return to the main. It would be kind of perverted, but you could :-)

As Occam said: Entia non sunt multiplicanda praeter necessitatem.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2020-09-23 07:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (130 votes). Check out past polls.

    Notices?