in reply to -bash: use

Hello KW7 and welcome to the monastery and to wonderful world of Perl!

..but.. what are you asking about? to have the best from perlmonks you must learn to show some effort, asking clear questions with more information as you can: see How do I post a question effectively? and How (Not) To Ask A Question.

If you have code or commandline question see Short, Self-Contained, Correct Example

At glance it seems you have a problem calling Perl: in Linux like environments perl is called or via shebang #!/path/to/perl at the top of the script, or directly in bash like perl /path/to/script.pl

What I see is bash complaing the use command is not found. use is Perl stuff. To use module in the command line, let's say a perl oneliner you: perl -MModule::To::Use  -e '..oneliner..'

PS cross posting it is not prohibited here at BUT it is considered polite to mention that your question is a crosspost. Be kind if you want kind replies!

Anyway, is your first post; many things to learn! welcome!

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.