Posts Tagged ‘Perl’

Is PERL installed in Suse 11.1

May 15, 2009

Yes, it is. I was not sure of this. I hence made a search in Google to find if it is. Unfortunatly, did find interesting. But I found a post that help.

Write a simple Perl Program to check if Perl works. I started with the famous “Hello World” program.

Save a file with a name hello.pl . The content of this file is a one line perl code to print ‘Hello World’.

print “Hello World\n”;

The open a Terminal and type the follow command.

perl hello.pl

If Perl is installed and everything is OK, u should get something like this on the terminal.

Hello World

Advertisements
%d bloggers like this: