in reply to Use strict.

In your first example, Perl sees $use as a variable, and strict as a command (or 'verb') so what you've written won't work.

But your second example appears reasonable... so you may need to check your installation -- are your modules where they should be; if you built your local Perl, did you do so properly?

PS: it's good that you're using strict; go the whole way now, and add use warnings to see the helpful messages it will provide (or see the same errors with respect to warnings.pm.

As to use of my, I have no clue what you mean: my $use strict; my strict; my what?.