Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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

by bart (Canon)
on Nov 29, 2004 at 14:59 UTC ( #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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://410932]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2018-07-16 11:16 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (333 votes). Check out past polls.