Skip to content

@semifor /exit.pl
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
#!/usr/bin/env perl
use 5.12.1;
use warnings;
#use POSIX qw/_exit/;
package Foo {
use Moose;
sub DEMOLISH {
my ( $self, $in_global_destruction ) = @_;
say $in_global_destruction ? "*Poof*" : "Gasp!";
}
}
my $foo = Foo->new;
exit 0;
#_exit 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.