friedo is right on the money. Komodo is complaining becasue as you code, Komodo attempts to check your syntax in the same way that the Perl interpreter would if you ran the code at that moment.
As for exactly what use strict does, read the docs. But, in general, strict disallows many things that are considered sloppy or frequently lead to bugs. In your case, $name has no explicit scope; without strict, Perl just assumes it is a package variable, which may or may not be what you wanted. Because it is ambiguous, strict is generating an error and asking you to either explicitly use the package name or otherwise explicitly scope the variable.
radiantmatrix
require General::Disclaimer;
s//2fde04abe76c036c9074586c1/; while(m/(.)/g){print substr(' ,JPacehklnorstu',hex($1),1)}
In reply to Re: Explanation of 'use strict;'
by radiantmatrix
in thread Explanation of 'use strict;'
by ManifestShadow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |