Difference between revisions of "Exercise 4.1 D"

From Earlham CS Department
Jump to navigation Jump to search
(New page: #!/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...)
 
 
Line 1: Line 1:
 +
Return to [[Aug 30-Sept 5]]
  
 +
<pre>
 
#!/usr/bin/perl -w
 
#!/usr/bin/perl -w
 
use strict;
 
use strict;
Line 22: Line 24:
 
# at a time. This practice makes things easier than trying to do it all at
 
# at a time. This practice makes things easier than trying to do it all at
 
#the same time.
 
#the same time.
 +
 +
 +
</pre>

Latest revision as of 12:14, 18 December 2009

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.