Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use: command not found #7

Open
hbcondo opened this issue Dec 1, 2019 · 2 comments
Open

use: command not found #7

hbcondo opened this issue Dec 1, 2019 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@hbcondo
Copy link

hbcondo commented Dec 1, 2019

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

@moznion moznion added the help wanted Extra attention is needed label Mar 7, 2020
@moznion
Copy link
Owner

moznion commented Mar 7, 2020

@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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants