On Sunday 31 Oct 2010, Shlomi Fish wrote:
[ snipped ]
> > &testsub1();
> 
> Don't use leading ampersands in subroutine calls:

Suppose a subroutine definition is written down the line and it's called 
without (), which is the recommended style:

&SubRoutine
or
SubRoutine

I remember I'd read in the past that & should be used in such cases so that 
Perl can easily recognize I'm attempting to call a subroutine, correct and/or 
is that (only) required with older versions?

-- 
Regards,
Akhthar Parvez K
http://www.sysadminguide.com/
UNIX is basically a simple operating system, but you have to be a genius to 
understand the simplicity - Dennis Ritchie

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to