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

Re^2: OO Coding - way to make it "save" the values?

by ultranerds (Friar)
on Jul 27, 2011 at 12:04 UTC ( #917004=note: print w/replies, xml ) Need Help??

in reply to Re: OO Coding - way to make it "save" the values?
in thread OO Coding - way to make it "save" the values?


Thanks. I don't really wanna use another DBI module, as I wanna try and play around with how this OO stuff works :) (as I said, its only a personal project). Gonna have a look at a way to distingish between the tables now

Thanks for the reply

  • Comment on Re^2: OO Coding - way to make it "save" the values?

Replies are listed 'Best First'.
Re^3: OO Coding - way to make it "save" the values?
by Anonymous Monk on Jul 27, 2011 at 12:15 UTC

    Here is hint

    sub table { return AndySQL::Table->new( db => shift, tablename => shift ); }

    ultranerds, I highly suggest a reading of Beginning Perl Chapter 11: Object-Oriented Perl, followed by the Objects chapter of Modern Perl


      Thanks, I've actually read the one in Beginning Per, but not the "Modern Perl" one... I'll get that book on order now

      Regarding your suggestion - thats, I'll give that a go :)


      Sweet, I got it working - thanks for the help :)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2017-12-17 00:56 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (459 votes). Check out past polls.