Yes, you can call subroutines either way, with or without the "&".
The only case when the subroutine must be prefixed with an
ampersand is, I believe, when you're assigning a reference
variable, eg:

$reference_x = \&subroutine_y;

But that's another story.

Kevin


---------- Original Message ----------------------------------
From: "Octavian Rasnita" <[EMAIL PROTECTED]>
Date:  Tue, 4 Jun 2002 21:06:19 +0300

>Hi all,
>
>I've seen some subroutines are ran without the & sign in front of the
>subroutine name, like:
>
>subroutine_name;
>instead of
>&subroutine_name;
>
>Is it the same thing or there is a difference?
>
>Thank you.
>
>
>Teddy,
>[EMAIL PROTECTED]
>
>
>
>-- 
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to