Please explain why I get here the error message Can't locate object method "new" via package "XXX"
Class::Struct says about this way of using the struct function: "...assumes the current package name as the class name - so, why is XXX::new not recognized here?use strict; use warnings; XXX->new(); package XXX; use Class::Struct; struct('field' => '$');
In reply to Class::Struct problem by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |