>>>>> "Jason" == Jason Purdy <[EMAIL PROTECTED]> writes:
Jason> From a newbie perspective, your code is flawed (no offense :)). Your line:
Jason> $sort_order = $ARGV[0] || $usage;
Jason> is saying set $sort_order to $ARGV[0] (no matter what it is, or even if it's
Jason> defined) or eval (not sure if that's the right word for this context)
Jason> $usage. So the code is doing the first part of the || line and skipping the
Jason> 2nd part all the time (because it can always set $sort_order).
Not true at all. It's actually correct. Perhaps you confused this
with "or". So the rest probably doesn't apply.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]