I wrote my first perl program 10 minutes ago:
--first.pl--: #!/usr/bin/perl print "Hello, world!\n";
I moved it on our Apache server, I gave the rights: chmod 755 first.pl
and I wanted to execute it: ./first.pl
but it is didn't work. Why? Please, help me!
(If I execute it by perl first.pl
then it works.)