aws-lambda-perl5-layer icon indicating copy to clipboard operation
aws-lambda-perl5-layer copied to clipboard

use: command not found

Open hbcondo opened this issue 5 years ago • 2 comments

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?

image

hbcondo avatar Dec 01 '19 20:12 hbcondo

@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.

moznion avatar Mar 07 '20 04:03 moznion

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

emil-perhinschi avatar May 27 '24 20:05 emil-perhinschi