use: command not found
Opened this issue · 2 comments
hbcondo commented
I added the Perl layer with the Using Provided Layers approach but I keep receiving the error:
use: command not found
The Lambda function bootstrap file is successfully finding the pl file but it doesn't understand that perl code inside of it.
@moznion, are there additional steps to use the provided layer?
moznion commented
@hbcondo
Hmm, I'm sorry, I couldn't reproduce this problem.
Could you give me more detailed information? It would be helpful if I could get the example code of this.
emil-perhinschi commented
use: command not found
that sounds like BASH is trying to interpret Perl code and you don't have the shebang (that is #!/usr/bin/env perl or #!/usr/bin/perl at the very start of your script
