Re: sub routine syntax

2004-09-06 Thread Randy W. Sims
Mike Blezien wrote: Hello All, We've been revamping alot of our older perl scripts and a question came up that I wasn't a 100% clear on. When calling sub routines, is there a significate difference in these formats: 1) some_subroutine(); 2) &some_subroutine; This syntax has the special property

Re: sub routine syntax

2004-09-06 Thread Ing. Branislav Gerzo
Mike Blezien [MB], on Monday, September 06, 2004 at 15:40 (-0500) has on mind: MB> 1) some_subroutine(); use this one. MB> is one a more prefered or more effecient to use then the other(s)?? I think is a more prefered, about eficienty it is same. &sub() is good only when it has the same name as

sub routine syntax

2004-09-06 Thread Mike Blezien
Hello All, We've been revamping alot of our older perl scripts and a question came up that I wasn't a 100% clear on. When calling sub routines, is there a significate difference in these formats: 1) some_subroutine(); 2) &some_subroutine; 3) &some_subroutine(); is one a more prefered or more eff