in reply to Re^2: exit this way
in thread exit this way
Hi, Your Mother. Can you please explain this snippet? It does print out the randomly assigned value of $success if I change it to:
But it appears to produce the same output when I omit the !:exit ! main(); sub main { $success = [ undef, "true" ]->[rand 2]; print "$success\n" +}
Which appears to be the same code as The Vague One posted ...exit main(); sub main { $success = [ undef, "true" ]->[rand 2]; print "$success\n" +}
What is the function of the bang?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: exit this way
by Your Mother (Archbishop) on Sep 01, 2015 at 15:45 UTC | |
by 1nickt (Canon) on Sep 01, 2015 at 16:16 UTC |