On Wed, 05 Aug 2009 12:55:22 +1000, Chas. Owens <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to