Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: scope and packages

by davorg (Chancellor)
on Jun 26, 2009 at 10:01 UTC ( [id://774999]=note: print w/replies, xml ) Need Help??


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

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

Replies are listed 'Best First'.
Re^4: scope and packages
by pagod (Initiate) on Jun 26, 2009 at 10:15 UTC
    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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://774999]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-04-20 00:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found