PERL Example: Hellow world! program

PERL Example: Hellow world! program

PERL Example Base Tutorial: Hellow world! program
 

create a file named "hello-world.pl" then copy and paste the below code:

print "Hello, world!";
print "\nThis is my first program in PERL.";
 

PERL Example Base Tutorial: Hellow world! program description

 Well, now run the program (hello-world.pl) from your favourite command prompt.
 If everything went well then you should get the result as follows:
 

PERL Example: Hellow world! program - output in the command prompt

The output in the windows command prompt

No comments:

Post a Comment

leave your comments here..