I think that this code takes run-time argument as well. Let me know if this is the case.
What is a
run-time argument of a function? Or more precises, what other arguments could a function have, if not at run-time? (The alternative would be an argument binding called Currying, but Perl does not support this).
I am nowhere able to find the routine get_opt
Neither am I. Hence, the program you posted is either incorrect or incomplete.
What is that host=s?
The technically correct answer to this would be
it's a string, but I could imagine that the code you are posted is used together with
Getopt::Long. This will probably answer your other questions too.
--
Ronald Fischer <ynnor@mm.st>
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.