-
-
Save daoswald/404cf6b31590be841b9d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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