Skip to content

Instantly share code, notes, and snippets.

@wchristian
Created December 19, 2010 19:26
Show Gist options
  • Save wchristian/747620 to your computer and use it in GitHub Desktop.
Save wchristian/747620 to your computer and use it in GitHub Desktop.
sub run
{
my ($self) = @_;
$self = $self->new if !ref $self;
my $sub = $self->get_sub;
my $result = $self->$sub();
$gp->print_page($result);
return;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment