Think about Loose Coupling | |
PerlMonks |
Re^2: -x accepts up to 3 additional argumentsby Codon (Friar) |
on Jun 23, 2005 at 19:22 UTC ( [id://469489]=note: print w/replies, xml ) | Need Help?? |
I think this is the closest to a "best solution" compared to some the others listed. Define a callback handler for your options such as:
Of course, all of this is going to depend on what you want to do with things later and on whether then number of params that -x and -y take varies, etc.
Ivan Heffner Sr. Software Engineer, DAS Lead WhitePages.com, Inc.
In Section
Seekers of Perl Wisdom
|
|