in reply to Re: Error with using structs as subroutine parameters
in thread Error with using structs as subroutine parameters
When I remove use Class::Struct line, I get a following error: Can't call method "value1" without a package or object reference
I figured the "new" line might be useless, but when nothing else worked I got desperate and figured that can't at least make things worse.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Error with using structs as subroutine parameters
by almut (Canon) on Jun 08, 2009 at 09:08 UTC |