Pages

8/11/2014

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 some_fle_name.pl and save.Open your terminal and type the command perl some_fle_name.pl

No comments:

Post a Comment

widget

selenium javascript alert box

This is a easy task to capture javascript based alertbox , /* * To change this license header, choose License Headers in Project Properti...