- or download this
package Foo::Bar::UrlHandler;
...
return $self;
}
- or download this
my $handler = Foo::Bar::UrlHandler->new(url => 'http://perlmonks.org')
or do_some_error_handling();
- or download this
package Foo::Bar::UrlHandler;
...
# Invalid URL?
return;
}
- or download this
sub new($proto, %config) {
my $class = ref($proto) || $proto;
...
return $self;
}