in reply to Re^3: Stuck on packages
in thread Stuck on packages
how do i make it an array or hash or whatever?sub new { my $class = shift; return bless { engine => "engine", wheels => "wheels", etc...}, $c +lass; } sub get_foo { my $self = shift; return $self->{engine,wheels,etc...}; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Stuck on packages
by SheridanCat (Pilgrim) on Jan 04, 2007 at 07:16 UTC | |
by Yoda_Oz (Sexton) on Jan 04, 2007 at 07:21 UTC | |
by shigetsu (Hermit) on Jan 04, 2007 at 10:09 UTC | |
by blazar (Canon) on Jan 04, 2007 at 21:07 UTC |