Exercise 4.1 D

From Earlham CS Department
Revision as of 11:14, 18 December 2009 by Damian (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Return to Aug 30-Sept 5

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

#Damian Almiron
#Ex 4-1

#I used example 4-3
#transcribing DNA into RNA

#Store a DNA fragment into $DNA
#
#First, I added a parenthesis
#Second, I deleted a letter from a variable's name
#Third, I added a word
Add Error messages


# Yes, perl did accuratelty report the line where the error is.
#An error can lead to many lines of error reporting.
#It is advised that when you get an error report, you should analyze one line 
# at a time. This practice makes things easier than trying to do it all at
#the same time.