Programming for linux: How to properly run Perl "one liner" command line scripts? on newest questions tagged linux – Stack Overflow
I have looked through a number of tutorials, but I still can’t figure out what I am doing wrong.. I am trying the code below (in a .pl Perl file, as an executable):
#!/usr/bin/perl perl -e 'print "Hello";'
I run this script and get:
Execution of /home/user1/Desktop/file_backups.pl aborted due to compilation errors.
(I’m new to using Perl to call the Linux command line.)
Programming for linux: programming-for-linux