[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

RE: [FWP] aCertainName.pm



> From: Steve Lane [mailto:sml@zfx.com]
> Sent: Wednesday, November 10, 1999 13:27
> To: Larry Rosler
> Cc: fwp@technofile.org
> Subject: Re: [FWP] aCertainName.pm

...

> i guess the optimum for the list functions would be:
>
>   my @arg = @_;
>   @arg = ($_) unless @arg;

Par:

    my @arg = @_ ? @_ : $_;

--
Larry Rosler
Hewlett-Packard Laboratories
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com



==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe