Learning Moose SHDH 36 Lightning Talk
by Drew Stephens on Jan 16, 2010
- 3,333 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
Tags
More...Upload Details
Uploaded via SlideShare as Apple Keynote
Usage Rights
© All Rights Reserved
Statistics
- Favorites
- 2
- Downloads
- 34
- Comments
- 4
- Embed Views
- Views on SlideShare
- 3,301
- Total Views
- 3,333
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; 1 year ago Reply