Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by ultranerds (Pilgrim)
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?

Hi,

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

Andy


Comment on Re^2: OO Coding - way to make it "save" the values?
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

      Hi,

      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 :)

      Cheers

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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (12)
As of 2014-12-22 21:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (131 votes), past polls