Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: GetOpt::Long usage style

by demerphq (Chancellor)
on Mar 08, 2003 at 12:32 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://241374]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-04-20 00:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found