On Wednesday 03 Nov 2010, Uri Guttman wrote: > the recommended style IS to call subs with (). where did you get the > opposite idea?
As I said, I think I'd read it somewhere. Yeah, may be that was required with only Perl 4 or earlier. > APK> I remember I'd read in the past that & should be used in such > APK> cases so that Perl can easily recognize I'm attempting to call a > APK> subroutine, correct and/or is that (only) required with older > APK> versions? > > no. & is never needed to call a sub in perl5. it was required in perl4. > it shouldn't be used in perl5 calls unless you know why and it is a very > special case. Thanks for clarifying that. -- 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/