Re: Different methods to call a subroutine!
- From: Tad McClellan <tadmc@xxxxxxxxxxxxxx>
- Date: Thu, 28 Dec 2006 18:15:29 -0600
pod69@xxxxxxx <pod69@xxxxxxx> wrote:
Is there any difference if i call a subroutine wit subroutine() or
&subroutine() -
Yes.
whats the different with the "&"!
You are expected to check the Perl FAQ *before* posting to
the Perl newsgroup.
perldoc -q "&"
Whatâ??s the difference between calling a function as &foo and foo()?
(which also answers the difference between &foo() and foo() )
Can anyone tell me that?
Anyone with the courtesy to check the FAQ could.
--
Tad McClellan SGML consulting
tadmc@xxxxxxxxxxxxxx Perl programming
Fort Worth, Texas
.
- References:
- Different methods to call a subroutine!
- From: pod69
- Different methods to call a subroutine!
- Prev by Date: Re: regex help please
- Next by Date: FAQ 5.7 How can I manipulate fixed-record-length files?
- Previous by thread: Re: Different methods to call a subroutine!
- Next by thread: FAQ 5.2 How do I change, delete, or insert a line in a file, or append to the beginning of a file?
- Index(es):
Relevant Pages
|