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
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"
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 {
>
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",
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 {
my ($self, @posData) = @_;
$self->{...@_p