On Thursday, Nov 20, 2003, at 11:10 US/Pacific, Freimuth,Robert wrote: [..]
[..]
Excellent suggestion! I should have thought of that before. (I can tell I'm tired...) Passing a hash would solve both the required/optional and parameter order problem.
hash is your friend. Hash References are Cooler!
As I tried to point out to folks when perl was young, if you just need a 'quick script' then why not just do it in /bin/sh, with maybe some awk and sed. One really 'does not need' Perl until one has a legitimate excuse to be playing with 'associative arrays', or what perlites call 'hashes', or if one really needs to have say a Decent Regular Expression Engine, or name space management solutions like the perl module...
So just remember what Uncle Drieux Says:
This is Your Brain, This is Your Brain on Perl...
any questions?
and USE the Reference when coding...
A mind is a terrible waste...
ciao drieux
---
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]