Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Perl script parameters

by lune (Monk)
on Oct 16, 2012 at 14:53 UTC ( #999351=note: print w/ replies, xml ) Need Help??

in reply to Perl script parameters

Here's a link to an answer, that applies to you too:

How do you use command line parameters?

If you want your script to be maintainable, use parameter names, so you don't have to think about the ordering of your cli arguments and so on, I would really recommend using Getopt::Long. That way, you could write: --logfile /path/to/logfile --build_version 0.2 ...

Comment on Re: Perl script parameters
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2015-12-01 12:54 GMT
Find Nodes?
    Voting Booth?

    My keyboard shows this many letters:

    Results (9 votes), past polls