Bart Lateur [mailto:[EMAIL PROTECTED]] wrote:
(Mittwoch, 20. November 2002 11:43)
>On Wed, 20 Nov 2002 04:10:02 -0600, Steven Lembark wrote:
>
>>sub commify
>>{
>> my ( $max, $sep, $end ) = ( shift, shift, shift );
> ...
>>}
>
>Wow! Hold it! Am I the only one who finds this absurd? More than one
>shift on the same array in one single expressing, sounds like bad style
>to me. Comments?
In one of my programs, this would be
sub commify {
my $max = shift;
my $sep = shift;
my $end = shift;
...
}
better or even worse in your view?
Joachim