On Tue, Mar 15, 2005 at 07:47:58PM +0100, Juerd wrote: : Rod Adams skribis 2005-03-15 12:44 (-0600): : > %x.delete('foo'); : > if %x.exists('foo') { ... } : : Would renaming exists to has or hasa be a good idea, if it does indeed : exist only in method form?
I'd think that would be asking if the array has an *attribute* of that name. Perl 6 objects aren't hashes... Larry