Maybe you should read the documentation. If a class method ->new is not defined, it will not work.
Most likely, you have a deeper misunderstanding about how objects work in Perl. ->new is a subroutine like any other subroutine, and not a keyword as it is in other languages. So if the module programmer does not provide you with a subroutine ->new, then you cannot call it and Perl tells you so.
In reply to Re^7: GMT to PST format
by Corion
in thread GMT to PST format
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |