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.
In reply to Re^2: Error with using structs as subroutine parameters
by dellnak
in thread Error with using structs as subroutine parameters
by dellnak
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |