As shown below, END blocks in Pugs are behaving differently to p5;
i.e. the Pugs END block is not being executed after die is called.
I expect this is known and a TODO but I thought I'd better report it
just in case.

# cat f.p6
print "one\n";
die   "dying";
print "two\n";
END { print "in end block\n" }

# perl f.p6
one
dying at f.p6 line 2.
in end block

# pugs f.p6
one
dying
Val (VList [VStr "dying"])

/-\


Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com

Reply via email to