in reply to Re: scope and packages
in thread scope and packages

oh, so that was just this stupid error... well, I guess next time I'll try to open my eyes even wider when reading the manual!
Thx a lot for pointing that out!

Replies are listed 'Best First'.
Re^3: scope and packages
by davorg (Chancellor) on Jun 26, 2009 at 10:01 UTC

    To be honest, you shouldn't need the manual for this. The constructor for an object should always be called using the arrow notation. Calling something with colons means that you're calling it as a plain subroutine; calling it with an arrow means you're calling it as a method.

    --

    See the Copyright notice on my home node.

    Perl training courses

      yup, i guess i should also read the manual about OO-Perl... well, you gotta start somewhere! then again, the error message didn't really make it clear to me what the problem might have been