J
John Bokma
usr said:hi
I feel embarrassed to ask this question
Reduce this feeling by reading:
<http://www.catb.org/~esr/faqs/smart-questions.html>
Quite some questions here are newbie questions, no need to state this
(it's often clear from the rest of the message).
I'm using linux and this is my code
/usr/bin/perl
print "Hello, World!\n";
I then
chmod a+x program_name
then
./program_name
then the terminal screen just sits until I stop it.
Change the first line to:
#!/usr/bin/perl
Thanks,
please enter giggles and restraind laughter were you see fit.
No giggles, but a sound advice: read a good book on Perl (Learning
Perl), read it front to back, and then start at the beginning again. The
first time: *don't* sit behind a computer. The second time, yes. And
make sure you make notes the second time you read it :-D.
A little extra: make sure you put the following two lines under the
first line:
use strict;
use warnings;
The latter "replaces" the -w one can see now and then after the /perl in
the first line.