Arrow does this implicitly for you, otherwise you need to do it explicitly.
See perlobj#A-Method-is-Simply-a-Subroutine
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery
In reply to Re: Why does Net::Curl::Easy->new work but Net::Curl::Easy::new does NOT?
by LanX
in thread Why does Net::Curl::Easy->new work but Net::Curl::Easy::new does NOT?
by YenForYang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |