[EMAIL PROTECTED] wrote:

> 
> Thanks Bill.  Yes that works!  Much thanks.  Again I learned something
> from this list.  Rob Dixon also pointed out some mistakes in my coding
> also.
> 
> Which is better to use:
> 
> 1)  my ( $FTPOBJ ) = @_;
> 
> --or--
> 
> 2)  my $FTPOBJ = shift;
> 
> I've seen both used a lot.

I use 2) for a single parameter (sometimes even 2 or 3 depending on usage)
and 1) for handling multiple parameters.

-- 
  ,-/-  __      _  _         $Bill Luebkert    Mailto:[EMAIL PROTECTED]
 (_/   /  )    // //       DBE Collectibles    Mailto:[EMAIL PROTECTED]
  / ) /--<  o // //      Castle of Medieval Myth & Magic http://www.todbe.com/
-/-' /___/_<_</_</_    http://dbecoll.tripod.com/ (My Perl/Lakers stuff)

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to