in reply to Error Message when I use Strict
Either use no strict 'refs' around the call, use test(), or call it as a class method: main->$SubroutName is allowed, even with maximal strictness. But be aware that calling it as a class method implicitely passes the class as the first argument.
|
|---|