-- "Pense, Joachim" <[EMAIL PROTECTED]>
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;
Until someone does
my $sep = shift;
my $max = shift;
my $end = shift;
or
my $sep = shift;
my $max = shift;
to it. Especially the former has caused people who work for
me pain, which is why I adopted the one-line method. That
or splice.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 800 762 1582