Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: GetOpt::Long usage style

by pg (Canon)
on Mar 08, 2003 at 18:28 UTC ( #241411=note: print w/replies, xml ) Need Help??

in reply to GetOpt::Long usage style

This is a very nice style, and I will start to use it.

The main point why it works is that, Perl allows you to my variables on fly (you only need to declare it when you need it), and it would be valid all the way to the end of the scope in which it is declared. (In this particular case, we don't see a scope change)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2016-10-22 07:49 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (293 votes). Check out past polls.