Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package Whatever;
- sub new {
- my ($class, $options) = @_;
- $options{'a'} = 3;
- return bless $options, $class;
- }
- sub method {
- my ($self, $others) = @_;
- ...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement