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

Re: Re: GetOpt::Long usage style

by demerphq (Chancellor)
on Mar 08, 2003 at 12:32 UTC ( #241374=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    GetOptions(x=>my $x=1,y=>my $y);
    
  2. or download this
    GetOptions('x',(my $x=1,y=>my $y));
    
  3. or download this
    \($x,$y,$z)
    
  4. or download this
    (\$x,\$y,\$z)
    
  5. or download this
    my $txt="Foo bar";
    (my $clean=$txt)=~s/oo/u/g;
    ...
    open my $fh,"File" or die "File $!";
    
    if (my ($x,$y,$z)=/A(..)(..)(..)Z/) { }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2014-04-19 18:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (483 votes), past polls