Skip to content

Instantly share code, notes, and snippets.

@daoswald
Created December 4, 2014 18:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daoswald/404cf6b31590be841b9d to your computer and use it in GitHub Desktop.
Save daoswald/404cf6b31590be841b9d to your computer and use it in GitHub Desktop.
our @ENDS = (
sub { ... },
sub { ... },
);
sub myend {
my $subs = shift;
foreach ( @$subs ) {
$_->(@_);
}
}
END{ myend(\@ENDS); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment