- or download this
#!/usr/bin/env perl
use strict;
...
END {
say "I'm in the END block";
}
- or download this
my ($fh, $filename) = tempfile($template, DIR => '.');
unlink $filename;
- or download this
#!/usr/bin/env perl
use strict;
...
}
close $fh;
say "End of prog";