---

Linuxcare: Dear Lina: Pulling the Perl From the Linux Shell

[ Thanks to Matthew Cunningham for this
link. ]

“My friend runs FreeBSD and I run Linux. Despite this severe
ideological difference, we actually do get along fine. I recently
started writing Perl scripts as a hobby, and my friend gave me a
sample script to get started. Here it is:

#!/usr/local/bin/perl -w

print "what is your name? ";
$NAME = ;
print "nHello, $NAMEn";

“The name of the file is hello.pl - and I even made it
executable with chmod 777 hello.pl. But when I type
./hello.pl I get this error: ./hello.pl: Command not
found.
No matter what I do, I can’t get this thing working.
Can you help me?”

Complete
Story