Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: Re: Re: Symbol table globbing from object refs

by nothingmuch (Priest)
on Nov 30, 2003 at 13:04 UTC ( [id://311015]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Symbol table globbing from object refs
in thread Symbol table globbing from object refs

Well, if it we're a means of getting responses for methods you don't know of it would be nice - most people that go around breaking it simply implement their own (see Class::Classless - i just submitted a patch (phew, a whole one line) for it to return code refs instead of 1, and Class::Object - i trust the documentation).

The problem is that @ISA is not used, or perl's builtin method calling system is extended. That's the showstopper.

Provided Autoload would provide (and export) a can, which either returns an anonymous subroutine that takes care of things, or actually loads the sub and returns a subroutine ref to that, It should pose no problem at all.


-nuffin
zz zZ Z Z #!perl
  • Comment on Re: Re: Re: Re: Symbol table globbing from object refs

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Symbol table globbing from object refs
by tilly (Archbishop) on Nov 30, 2003 at 21:11 UTC
    I hope that your one-line patch to Class::Classless addressed the documented reason for originally not returning code refs, and fixed the documentation as well.
      For the (curios|record), I believe, after checking repeatedly, that the patch is still valid. Please review it and comment on it if applicable, on the cpan requests tracker.

      Thanks!



      -nuffin
      zz zZ Z Z #!perl

Log In?
Username:
Password:

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

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

    No recent polls found