Re: Different methods to call a subroutine!
- From: "Paul Lalli" <mritty@xxxxxxxxx>
- Date: 28 Dec 2006 10:59:28 -0800
pod69@xxxxxxx wrote:
Is there any difference if i call a subroutine wit subroutine() or
&subroutine() - whats the different with the "&"!
Can anyone tell me that?
Everyone so far has instructed you to read `perldoc perlsub`. That's
good advice. To help you narrow it down, the shortest answer is:
& disables prototype-checking and passes the current @_.
Search for "prototype" and "@_" within perlsub for more details.
Paul Lalli
.
- References:
- Different methods to call a subroutine!
- From: pod69
- Different methods to call a subroutine!
- Prev by Date: Re: Different methods to call a subroutine!
- Next by Date: FAQ 5.2 How do I change, delete, or insert a line in a file, or append to the beginning of a file?
- Previous by thread: Re: Different methods to call a subroutine!
- Next by thread: Re: Different methods to call a subroutine!
- Index(es):
Relevant Pages
|