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

Re: [FWP] Kill 'em all and let God sort it out



On Thu, Mar 15, 2001 at 08:38:03PM +0100, abigail@foad.org wrote:
> I don't get it. How does "ref and ref !~ /^[A-Z]$/" in any way distinguish
> between objects and non-objects? There are only 52 strings matching /^[A-Z]$/.

I'd say it was a bug, but the True Church is infallible.  Instead I
will say that upon closer examination of the source code for the One
True Perl you will clearly find that /^[A-Z]$/ actually means "matches
the names of all built-in types and only that".  You will find your
mistake is due to mistranslation of the docs from the original EBCDIC.

Of course, the source for the One True Perl is only available in the
One True Language that the Lord Himself programs in... Ada.  Porting
to other languages for the common man will result in excommunication
and setting of your disk quota to 0.

-- 

Michael G. Schwern   <schwern@pobox.com>    http://www.pobox.com/~schwern/
Perl6 Quality Assurance     <perl-qa@perl.org>	     Kwalitee Is Job One
Hey you kids, come back here!  I know who your parents are!  You wouldn't
do this if Nixon was in the White House!  Come on, I'm the Walrus, damnit!

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe