Hope this doesn't further belabor the issue, but just to put my
two cents in, Perl syntactic rules for prefixing "$", "@", "%" are
very consistent, IMHO: You just need to keep in mind the types of
the values/data types ultimately being expressed, and it should
become clearer. "$" always prefixe
Janek:
Thank you for explaining the difference between calling
subroutines with vs. without the ampersand.
I'm glad I'm on the beginners list.
Sincerely,
Kevin Christopher
-- Original Message --
From: Camilo Gonzalez <[EMAIL PROTECTED
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 ---