I
ioneabu
if I put
use strict;
use warnings;
use MYCLASS;
at the top of my program, is it correct that strict and warnings will
not apply to checking the code in MYCLASS? I did not know about this
and missed a big error using a global instead of a lexical. When I put
them in my class/module file, the error was picked up.
It may sound dumb but maybe worth mentioning.
wana
use strict;
use warnings;
use MYCLASS;
at the top of my program, is it correct that strict and warnings will
not apply to checking the code in MYCLASS? I did not know about this
and missed a big error using a global instead of a lexical. When I put
them in my class/module file, the error was picked up.
It may sound dumb but maybe worth mentioning.
wana