Question:

What will be printed (disregard newlines)?

package A;

sub new { return bless {} }
sub DESTROY { print "a\n" }


package main;

my $a = A->new();

die "b\n";

END {
    print "c\n";
}

Answers:


Keywords:

© 2017 QuizBucket.org