in reply to Store only object data but not the whole class
Can't locate object method "Whatever" via package "new" (perhaps you forgot to load "new"?) at -e line 9.
The object creation should be (my preferred syntax):
my $obj = Whatever::->new();
"Software interprets lawyers as damage, and routes around them" - Larry Wall
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Store only object data but not the whole class
by AnomalousMonk (Archbishop) on Aug 30, 2016 at 18:37 UTC | |
by kcott (Archbishop) on Aug 31, 2016 at 06:01 UTC | |
by NetWallah (Canon) on Aug 30, 2016 at 19:00 UTC | |
|
Re^2: Store only object data but not the whole class
by exilepanda (Friar) on Aug 30, 2016 at 15:13 UTC | |
by stevieb (Canon) on Aug 30, 2016 at 15:19 UTC |