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