Learning Moose SHDH 36 Lightning Talk
by Drew Stephens
- 4,039 views
A lightning talk introduction to the Moose object framework for Perl.
A lightning talk introduction to the Moose object framework for Perl.
Video: http://www.youtube.com/watch?v=wGGDPATfsfo
Accessibility
Categories
Upload Details
Uploaded via SlideShare as Apple Keynote
Usage Rights
© All Rights Reserved
Statistics
- Likes
- 2
- Downloads
- 39
- Comments
- 4
- Embed Views
- Views on SlideShare
- 4,007
- Total Views
- 4,039
btw, thank you for your presentation
package Horse;
sub new {
my $class = shift;
my ($name, $legs) = @_;
my $self = {
name => $name,
legs => $legs,
};
return bless $self, $class;
}
sub name {
my $self = shift;
if (@_) {
$self->{name} = shift;
}
return $self->{name};
}
1; 2 years ago