in reply to use strict (upper or lower case)
Having found that, Perl compiles (and runs) the code in the file, and then goes looking for a sub Strict::import. It doesn't find it, so it continues compiling the rest of the code. However, there's a strict::import, which would have been found, and called, had you used use strict. And that would pull up all the (possible) errors in your code.
So, use use strict. It will not only improve your code, but it will also mean your code will not stop compiling at one of the first lines would you ever try to run it on a system where a normal filesystem.
Abigail
|
|---|