On Fri, 2008-04-25 at 09:39 -0700, jerry gay wrote:
> On Fri, Apr 25, 2008 at 8:38 AM, Geoffrey Broadwell <[EMAIL PROTECTED]> wrote:
> >  (Subtle note -- the || really wants to be //, but as I recall we're not
> >  allowed to assume that // is there yet.)
> >
> correct, parrot depends on perl 5.8, so we can't rely on //.
> 
> so i strongly suggest you use the idiomatic (however verbose) perl5 
> equivalent:
>     defined $foo ? $foo : $default
> correctness++

Fair enough.  Please remember that the version of the sub I put up was
freehanded -- I was trying to make a point about making its API and
internals cleaner, not replace James Keenan's patch.

Unfortunately, I think my overall point was lost in the details.  :-(


-'f


Reply via email to