On Tue, Jul 03, 2001 at 03:12:14PM +0200, Philip Newton wrote:
> Mark Fowler wrote:
> > Also:  So system can return a false but with value for error codes
> > 
> >   # won't work in 5.XXXX perl,  but will in perl 6 with properties ;-)
> >   system("cat /place/that/doesnt/exist")
> >     or die "Place doesn't exist!";
> 
> Yeah, I heard that you could do system() or die, and figured that with "0
> but true", you can already do half of that... but to really support the
> idiom, you'd need something like "3 but false".

DBI uses 'OEO' to mean 0-but-true.
-- 
Chris Benson

Reply via email to