Tiên Hương
New member
How do I run a .pl file in Unix?
Answer
3 Answers
Answer
3 Answers
- Find the interpreter/executors path. In this case its /usr/bin/perl or /usr/bin/env perl.
- Add it to the first line of the file as #!/usr/bin/perl .
- Give execute permission to the file chmod +x example.pl.