Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: The Null Mull (or, when OO needs more O)

by bart (Canon)
on Nov 29, 2004 at 14:59 UTC ( [id://410932]=note: print w/replies, xml ) Need Help??


in reply to The Null Mull (or, when OO needs more O)

Everyone has probably experienced the pain and frustration of something in their script trying to call a method on something that isn't a reference.
$ perl -e '1->method'
As an aside, I stumbled across a module on CPAN just yesterday, which would seem to make this possible: Scalar::Properties.

Replies are listed 'Best First'.
Re^2: The Null Mull (or, when OO needs more O)
by drewbie (Chaplain) on Nov 29, 2004 at 17:25 UTC
    Scalar::Properties looks wickedly neat from a quick glance at the docs. Has anyone used it in production code?

Log In?
Username:
Password:

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

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

    No recent polls found