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

Re: &say's return value

Thread Previous | Thread Next
July 30, 2005 09:25
Re: &say's return value
Message ID:
On Sat, 2005-07-30 at 14:56 +0300, Gaal Yahas wrote:

> (This introduces a potential semipredicate problem when looking at the
> return value of a printed "0" or "" while not using "fatal", but the
> code can use a defined guard.)

I don't know if returning the printed string is the right approach, but
would returning '$string but true' avoid the semipredicate problem?

-- c

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About