aws-lambda-perl5-layer
aws-lambda-perl5-layer copied to clipboard
use: command not found
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?

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