RE: How do I create arrays in OO format?

2009-11-16 Thread Brian Raven
Serguei Trouchelle <> wrote: > Brian Raven wrote: > >> Read the documentation on OO that comes with Perl (perldoc perl$_ >> foreach qw{boot toot tooc bot}). Also Damian Conway's book comes >> highly recommended. I can't remember toe title off-hand, but you can >> google for it. > > "Perl Best Pra

Re: How do I create arrays in OO format?

2009-11-13 Thread Serguei Trouchelle
Brian Raven wrote: > Read the documentation on OO that comes with Perl (perldoc perl$_ > foreach qw{boot toot tooc bot}). Also Damian Conway's book comes highly > recommended. I can't remember toe title off-hand, but you can google for > it. "Perl Best Practices" Also, "ppm install Perl::Critic"

RE: How do I create arrays in OO format?

2009-11-12 Thread Brian Raven
Jason Lowder <> wrote: > Hi, > > I'm trying to make my perl source as OO as possible (fairly new to > it) and while I can set values in set methods, I can't seem to figure > out how to set arrays or hashes this way. > > My code: > > package SQLfunctions; > ... > sub createPositionData { >

Re: How do I create arrays in OO format?

2009-11-12 Thread Olivier Mengué
2009/11/12 Jason Lowder > Hi, > > I'm trying to make my perl source as OO as possible (fairly new to it) > and while I can set values in set methods, I can't seem to figure out > how to set arrays or hashes this way. > > My code: > > package SQLfunctions; > If you name your package "functions",