Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: oops concept in perl programming

by Codon (Friar)
on Jan 03, 2007 at 18:24 UTC ( #592807=note: print w/replies, xml ) Need Help??


in reply to oops concept in perl programming

philcrow mentioned Damian's Book. In addition, you may want to take a look at The Alpaca book by Randal Schwartz. It's a bit newer and sort of eases you in to OO Perl. At least it did in the first edition when it was called Learning Perl Objects, References, and Modules.

After those two, if you like C++ and Java OO for their strong data encapsulation, Damian has some things to offer on what's recently become en vogue for OO Perl: Inside-Out Objects. Some introduction to this is given in his Best Practices book. He's also got a module or two to help you build these kind of classes.

Happy Hacking!

Ivan Heffner
Sr. Software Engineer, DAS Lead
WhitePages.com, Inc.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://592807]
help
Chatterbox?
[Michael W]: So i can read ok from this how do i put data back inmy @Variables = ( $Map_Request_Date, $Map_Due_Date,$Map _Cutover_Date,$Map _Complete_Date,$Ma p_Approved_Date);
[Corion]: Michael_W: $Variables[0] = $Map_Request_Date; $Variables[1] = $Map_Due_Date; ...
[choroba]: ( $Map_Request_Date, $Map_Due_Date,$Map _Cutover_Date,$Map _Complete_Date,$Ma p_Approved_Date) = @Variables;?
[thezip]: something like: $Map_Request = <value>; etc. should work
[Corion]: Duh - I read it backwards. I shouldn't code today I guess ;)
[thezip]: G'day all, BTW!

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2017-04-27 15:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (509 votes). Check out past polls.