difference between '&subroutine()' and 'subroutine()'

2005-10-12 Thread Jeff Pan
HI, I want to know what's the difference when I call a subroutine with '&' or without '&'. such as: &subroutine(); sub subroutine{ .. } or subroutine(); sub subroutine{ .. } Can anyone tell me?thanks a lot. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: difference between '&subroutine()' and 'subroutine()'

2005-10-12 Thread Xavier Noria
On Oct 12, 2005, at 10:16, Jeff Pan wrote: I want to know what's the difference when I call a subroutine with '&' or without '&'. Sure, that's documented in perlsub. Check for instance the comments in the code below "To call subroutines:" in the very SYNOPSIS. -- fxn -- To unsubscribe,