develooper Front page | perl.perl6.users | Postings from September 2018

Re: Appropriate last words

Thread Previous | Thread Next
From:
Elizabeth Mattijsen
Date:
September 4, 2018 13:39
Subject:
Re: Appropriate last words
Message ID:
CB829728-97E7-4E91-AED1-95461E3965AC@dijkmat.nl
FWIW, that’s because the True returned by the “note” gets coerced to Int: True -> 1

> On 4 Sep 2018, at 15:32, Parrot Raiser <1parrota@gmail.com> wrote:
> 
> exit note "message";
> seems to work well as a substitute. "note" outputs the message, and
> exit sends the return code (1) to the OS, marking a failure.

Thread Previous | Thread Next


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