#!/usr/bin/perl $classname="CGI Programming 101"; print "Hello there what is your name?\n"; $you = <STDIN>; chomp($you); print "Hello, $you. Welcome to $classname. \n";
Hello world in perl
#!/usr/bin/perl # # The traditional first program. # Strict and warnings are recommended. use strict; use warnings; # Print a message. print "Hello, World!\n";