Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 exploiting the Monastery: (13)
As of 2014-12-26 06:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (167 votes), past polls