in reply to Use strict.

The first error message is a typical shell error. If you execute the first snippet in a shell, it will disregard the first line (it's a comment), disregard the $use (it's undefined, hence an empty string), and cannot find the command 'strict'.

I do not know which program has errors of the form "No command 'use' found, did you mean ...", but I do know Perl doesn't have errors looking like that.

Replies are listed 'Best First'.
Re^2: Use strict.
by FunkyMonk (Bishop) on Jan 30, 2011 at 18:47 UTC
    I do not know which program has errors of the form "No command 'use' found, did you mean ..."
    It's what ubuntu does when it thinks you're trying to run a command from a package you have not installed:

    $ hgh No command 'hgh' found, did you mean: Command 'huh' from package 'orville-write' (universe) Command 'hg' from package 'mercurial' (universe) hgh: command not found