Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Nested Classes

by Tyke (Pilgrim)
on Mar 05, 2001 at 13:23 UTC ( #62198=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Nested Classes
in thread Nested Classes

The OP asked how to
  1. create an object,
  2. bless,
  3. and then bind subroutines to it (written within another objects method) as methods.

That's what I tried to show. Sure it's better to define classes statically. But as I understood the OP, he wanted to do this on the fly

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2016-08-29 14:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (403 votes). Check out past polls.