Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: [Perl 6]: Small discoveries VI, die

by holli (Abbot)
on Oct 22, 2017 at 16:50 UTC ( [id://1201846]=note: print w/replies, xml ) Need Help??


in reply to Re^2: [Perl 6]: Small discoveries VI, die
in thread [Perl 6]: Small discoveries VI, die

However, when I tried that with Perl6, it printed the message (with a newline where added) and the same information regardless of whether a newline had been used:
That *is* the point. Wether or not you put a newline at the end of the argument to die, it will print a stack trace. Unlike Perl 5.


holli

You can lead your users to water, but alas, you cannot drown them.

Replies are listed 'Best First'.
Re^4: [Perl 6]: Small discoveries VI, die
by Laurent_R (Canon) on Oct 22, 2017 at 20:32 UTC
    OK, thank you holli, then we agree. I guess Ken and myself misunderstood your point.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1201846]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-18 21:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found