-bash: use: command not found

-bash: use: command not found

iMac

Posted on Jun 26, 2017 2:53 PM

Reply
8 replies

Jun 26, 2017 4:31 PM in response to craiglavallee

Writing an effective Apple Support Communities question.


We are not looking over your shoulder to see what you were doing when this occurred. More information about what you were attempting to do, or achieve would help with the answer you receive. There is no UNIX “use” command, which is why the Bash shell uttered “command not found.” There is a users command.

Jun 30, 2017 3:12 PM in response to craiglavallee

You still haven't posted the beginning of your script so we can see how you are introducing these modules to your code. And, have you reviewed each use clause with perldoc in the Terminal (e.g. perldoc Unicode::Normalize) to verify proper syntax?


Are your modules in the expected location?


perl -MUnicode::Normalize -E 'say $INC{"Unicode/Normalize.pm"}'

/System/Library/Perl/5.18/darwin-thread-multi-2level/Unicode/Normalize.pm

Jun 30, 2017 3:45 PM in response to VikingOSX

/Library/Perl/5.18/darwin-thread-multi-2level/Unicode/Normalize.pm Any module I try to run has the same problem. Some modules loaded follow:

Text::Template

Thread::Queue

Thread::Semaphore

Tie::File

Time::HiRes

Time::Local

Time::Piece

Unicode::Collate

Unicode::Normalize

XSLoader

autodie

autouse

base

bignum

constant

if

inc::latest

parent

perlfaq

threads

threads::shared

use

version

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

-bash: use: command not found

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.