In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Rafal Pocztarski)
wrote:
> You could write something like this:
>
> print join "\t", @params{'q001'..'q100'};
or for a slightly better golf score
print "$params{$_}\t" for sort keys %params;
# that is the correct idiom, right?
> instead of:
>
> print "$params{q001}\t$params{q002}\t ... $params{q100}"; # 100 times
>
> "Perl is designed to give you several ways to do anything, so consider
> picking the most readable one." - Larry Wall
heh =] darn skippy.
--
Scott R. Godin | e-mail : [EMAIL PROTECTED]
Laughing Dragon Services | web : http://www.webdragon.net/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]