[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl-WebCGI] How art thou glob?



At 17:23 -0700 07/27/1999, Vicki Brown wrote:
>Not as of Perl 5.  The & still works but is no longer required and 
>may even be deprecated these days...  foo() is unambiguously a 
>function call. So is &foo. foo is not. &foo() would be redundant.

My understanding is that while there are alternates to &subname, this 
is the only form that automatically passes the current @_ to the 
subroutine if you are calling it directly and is the only form that 
can be used if you are calling the subroutine indirectly in any case 
(Camel, p. 112). Unless I am incorrect about this, it's easier for me 
to keep things straight by just using one form.

>what's this got to do with Web/CGI programming anyway?

You got me. Perhaps the thread's originator can answer that one. :-]


Richard Gordon
--------------------
Gordon Consulting & Design
Database Design/Scripting Languages
mailto:richard@richardgordon.net
http://www.richardgordon.net
770.971.6887 (voice)
770.216.1829 (fax)

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org