On Wed, 05 Aug 2009 12:55:22 +1000, Chas. Owens <chas.ow...@gmail.com> wrote:

snip
In this case it is telling Perl that compare expects two scalars as arguments.
snip

Now the compare($$) makes much more sense.

snip
There are many [pitfalls][2] to prototypes and they should really not be
used unless you have a really good reason.

[1] : http://perldoc.perl.org/perlsub.html#Prototypes
[2] : http://www.perl.com/language/misc/fmproto.html


I will have a read of these along with John's link.

Thank you Chas. for your reply.

Dave

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to