Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: bizarre Carp

by ikegami (Patriarch)
on Mar 29, 2007 at 14:28 UTC ( [id://607271]=note: print w/replies, xml ) Need Help??


in reply to bizarre Carp

What about the following?
sub my_main { my $first = shift(@_); local @ARGV = @_; GetOptions(...); }

It's even cleaner code (better encapsulation).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-03-29 15:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found