Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: SPOPS Question

by lachoy (Parson)
on May 26, 2003 at 20:39 UTC ( #260884=note: print w/replies, xml ) Need Help??


in reply to SPOPS Question

1) I'm not sure what you mean by 'class data'. Every SPOPS class stores its configuration in a hashref accessible with $class->CONFIG, and the values in that hashref can be any normal Perl scalar (hashref, arrayref, etc.)

If you mean 'instance data', then that's a different matter. Serializing hashrefs and arrayrefs to a database is nontrivial, although the SPOPS::LDAP implementation does this fairly well.

2) You can define one or more classes in 'code class' whose methods get read into the generated class at initialization.

3) If you've downloaded the SPOPS source, check out the 'eg/' directory for a number of examples (see the README file there for pointers). The documentation (also web accessible) has a number of examples scattered throughout as well.

Also, feel free to post questions to the openinteract-help mailing list (that's where SPOPS is supported).

Chris
M-x auto-bs-mode

Replies are listed 'Best First'.
Re: Re: SPOPS Question
by set_uk (Pilgrim) on May 26, 2003 at 21:45 UTC
    Yes I did mean instance data (just going up the OO learning curve as well :-) )

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2022-05-17 17:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (68 votes). Check out past polls.

    Notices?