
KevinR
Veteran

Jan 29, 2008, 12:33 PM
Post #2 of 3
(251 views)
|
|
Re: [klusener] & operator in perl
[In reply to]
|
Can't Post
|
|
& in that context means "look_up" is a sub routine: To call subroutines: NAME(LIST); # & is optional with parentheses. NAME LIST; # Parentheses optional if predeclared/imported. &NAME(LIST); # Circumvent prototypes. &NAME; # Makes current @_ visible to called subroutine. Read this page for more details about how & affects your perl scripts behavior: http://perldoc.perl.org/perlsub.html -------------------------------------------------
(This post was edited by KevinR on Jan 29, 2008, 12:34 PM)
|