I'd suggest using prototypes if you are going to be passing more than 3 variable references, or 3 or more different types of varible references. This is for your own sanity.
> -----Original Message----- > From: Bob Showalter [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 05, 2002 9:30 AM > To: 'Octavian Rasnita'; [EMAIL PROTECTED] > Subject: RE: subroutine or &subroutine > > Here are my recommendations for new code (others may want to > debate these): > > 1. Always "use strict;" > > 2. Don't use prototypes. > > 3. Don't use the &foo or &foo(args) calling styles. > > 4. To call a sub with no arguments, use an empty set of > parens: foo() (Exception: method calls can leave > off the parens, e.g: $sth->execute; since there is > no ambiguity with a method call). > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > ---------------------------------------------------------------------------- -------------------- The views and opinions expressed in this email message are the sender's own, and do not necessarily represent the views and opinions of Summit Systems Inc. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]