in reply to -bash: use

Could you give us enough information to reproduce the issue, like what the top of your script looks like and how you're running it? See also SSCCE and How do I post a question effectively?

Just a guess: Does your script start with #!/usr/bin/perl or similar, or not? Are you running your script via perl scriptname.pl, ./scriptname.pl, or maybe even . scriptname.pl?

Replies are listed 'Best First'.
Re^2: -bash: use
by KW7 (Initiate) on Jul 01, 2017 at 14:28 UTC
    This is a module - not a script I am using Darwin 5.18.

      Are you trying to run your module?

      That's not how modules work.

      Maybe show us what you are actually doing?

        Craigs-MacBook-Pro:Perl craiglavallee$ use -bash: use: command not found
        use Module VERSION
        yes, but I can not run the module use -bash: use: command not found. This module lets you import several modules at once. loaded from cspan