Useless use of a (constant|hash element) in void context?

ADFH mpm at bachelorguy.com
Sun Oct 5 20:56:29 CDT 2003


> course in the past.  You may be interested in knowing that Paul and I have
> been further developing those notes and you can see our coverage of
> references and the like in our Intermediate course notes at: 
> 
> 	http://www.perltraining.com.au

Cool - shall have to take a peek.

> If you prefix something with an ampersand you're saying that it's a
> subroutine:
> 	&some_sub();

Ok, so when I call a function foo like:
	print foo;
I'm implying:
	print &foo();
... assuming there are no variables called foo in the current
context/scope?




More information about the Melbourne-pm mailing list