Thanks pete for the reply.
-------------------
[root@c83-251-158-92 Nissanka]# perl -v
This is perl, v5.8.8 built for x86_64-linux-thread-multi
Copyright 1987-2006, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at
http://www.perl.org/, the Perl Home Page.
[root@c83-251-158-92 Nissanka]#
----------------------------------------------------------------
I just want to run the following program:
-------------------------------------------------
#!/usr/local/bin/perl
#
# Program to do the obvious
#
print 'Hello world.'; # Print a message
------------------------------------------------------------
1. I can write it using the vi editor
2. What should be the end of the name? If it is a scripting programme, I will write 'Trial1' as the name.
Then I would use the command 'chmod 755' to change execution permissions.
3. To run the program, I will write ' ./Trial1 ' and press enter.
4. How do I do it here?