[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] FNG



At 19.51 -0500 1999.01.27, Vicki Brown wrote:
>As sayeth the Camel, container of all knowledge (p. 38)
>
>   While we might speak of a scalar as "containing" a number or a string,
>   scalars are essentially typeless; there's no way to declare a scalar of
>   type "number" or "string". Perl converts between the various subtypes as
>   needed, so you can treat a number as a string or a string as a number,
>   and Perl will do the Right Thing.

We know, of course, this is not true, since these are different:

  ~'1'
  ~1

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])