> -----Original Message----- > From: Dave Whipp [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 24, 2004 5:22 PM > To: [EMAIL PROTECTED] > Subject: Re: definitions of truth > > "Larry Wall" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > > This is Perl 6. Everything is an object, or at least pretends to be > one. > > Everything has a .boolean method that returns 0 or 1. All conditionals > > call the .boolean method, at least in the abstract. > > My reading of A12 leads me to expect this to be defined as a coercion, > using > the "as" operator, not "dot": > > $foo as boolean > > What am I missing?
Why not just use say ?$foo Isn't the prefix ? operator designed specifically for this use? Joe Gottman