Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Getopt::Long mystery

by Llew_Llaw_Gyffes (Scribe)
on Aug 17, 2005 at 22:03 UTC ( [id://484618]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
                   'verbose',
                   'zero|0'))
    {
    
  2. or download this
    babylon5:alaric:/minbar/camera/canon/test:39 $ renum -t foo img*
    Unknown option: t
    
  3. or download this
    babylon5:alaric:~:1 $ renum -t -d 4 foo bar*
    Test mode:  No changes will be committed
    Trying pattern: bar\*
    Using format foo-%04d.jpg
    No files found; doing nothing
    
  4. or download this
    babylon5:alaric:~:2 $ renum -t -d 4 -r foo bar*
    Unknown option: t
    ...
          -separator <char>    Use <char> as separator character (default 
    +'-')
          -test, -n            Do not make any actual changes
      All options may be abbreviated.
    
  5. or download this
           Without additional configuration, GetOptions() will ignore
           the case of option names, and allow the options to be
           abbreviated to uniqueness.
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-04-18 10:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found