Skip to content

Instantly share code, notes, and snippets.

@ryopeko
Created October 31, 2012 08:55
Show Gist options
  • Save ryopeko/3985952 to your computer and use it in GitHub Desktop.
Save ryopeko/3985952 to your computer and use it in GitHub Desktop.
use strict;
use warnings;
use parent qw/Hoge::Fuga/;
sub new {
my ($class, @args) = @_;
my $self = $class->SUPER::new(@_);
$self->{hogehoge} = 'unko';
return $self;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment