Perl Monk, Perl Meditation | |
PerlMonks |
Re: Should we handle multiple arguments as a list?by CharlesClarkson (Curate) |
on Jul 22, 2001 at 09:21 UTC ( [id://98766]=note: print w/replies, xml ) | Need Help?? |
I think this involves the communication skills of a programmer. Who is using this function? Is it it usually called many times or just once or twice. During the past week I was helping a newbie with subs to process partial log files. The sort functions lent themselves to speedy list processing, but users would rarely trigger such calls and we used a loop for multiple calls to increase efficiency of the sub. It goes back to: "know your customers" or in this case your typical users. HTH, Charles K. Clarkson
In Section
Seekers of Perl Wisdom
|
|