Print Hello World in Perl

#!/usr/local/bin/perl -w
print "hello world\n"; #\n for next line
print "Davinder\n";
#END

Output


[root@Perl-scripts]# perl -w helloworld.pl
hello world
Davinder

Comments

Popular posts from this blog

How to delete SEA in VIOS

Webmin configuration for LDAP

Sample questions and answers for AWS Associate Solutions Architect Certification ---> AWS exam dumps