Exercise 4.2

From Earlham Cluster Department

Jump to: navigation, search

Return to Week 1

Exercise 4.2 in Beginning Perl for Bioinformatics

#!/usr/bin/perl -w
use strict;

#Erika Phelps
#Sept 20, 2009
#Exercise 4.2

#Write a program that stores an integer in a variable and prints it out.</nowiki>


#Storing the integer
my $variable = '4';

<nowiki>#Printing it out

print "The variable is $variable.\n";

exit;
Personal tools
Namespaces
Variants
Actions
websites
wiki
this semester
Toolbox