develooper Front page | perl.perl6.language | Postings from July 2005

Re: &say's return value

Thread Previous
From:
Gaal Yahas
Date:
July 30, 2005 10:15
Subject:
Re: &say's return value
Message ID:
20050730171314.GD1129@sike.forum2.org
On Sat, Jul 30, 2005 at 09:36:13AM -0700, Larry Wall wrote:
> I don't see any reason to return the string at all.  It's almost never
> wanted, and you can always use .= or monkey but.

So: fail on failure bool::true on success? Pugs currently returns
bool::true.

Is there a way to tag a sub as failable? Should there be one?

-- 
Gaal Yahas <gaal@forum2.org>
http://gaal.livejournal.com/

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About