Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Using getopt::Long

by TomDLux (Vicar)
on Mar 13, 2014 at 02:58 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1078115]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2024-04-23 10:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found