Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Getopt::Long mystery

by Llew_Llaw_Gyffes (Scribe)
on Aug 17, 2005 at 22:03 UTC ( #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
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? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2020-02-22 05:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (98 votes). Check out past polls.

    Notices?