in reply to "Use strict" and "Use warnings" not working

You're not actually executing a Perl script. There are several ways to invoke a Perl script. One would be, perl scriptname at your command prompt, assuming paths are set up appropriately. Another would be to invoke the script name itself, assuming you're using an OS where a file can be made executable. In that case the shebang line would direct the OS to use the Perl interpreter on the rest of the file.

perlrun will help you understand how to invoke a Perl program.

As someone already mentioned, what you're doing is trying to run a program named "use." There's no script presented in anything you did. That sort of begs the question, "What has to happen next?" The answer is probably execute your Perl script. A module alone isn't sufficient.


Dave