01-perl printing Hello World

Perl is a amazing and great programming language to study.Let us go through a simple program for printing the old dialog “Hello World

  1. #!/usr/bin/perl
  2. use strict;
  3. use warnings;
  4. print "Hello, World!\n";

Here print statement will print “Hello world”.To run perl program make a file and save.Open your terminal and type the command perl

No comments:

Post a Comment


installing perl dancer in ubuntu

For installing perl dancer you need curl utility for installing curl ,   sudo apt-get install curl Now we can install Perl-Dancer by thi...