#!/usr/local/bin/perl -w # The Perl Hey program: hey.pl # A simple program to test that Perl is working on your system # WI Biocomputing course - Unix and Programming Skills for Biologists - March 2003 # Prompt the user for his name print "What is your name? "; # Remove the newline character at the end chomp ($name = <STDIN>); # Print a greeting print "Hey, $name, welcome to the Unix & Perl course.\n";