PERL syntax/programming 1. Using Moose, write a simple RestrictionEnzyme class.
ID: 3859841 • Letter: P
Question
PERL syntax/programming
1. Using Moose, write a simple RestrictionEnzyme class. Object attributes should include (but not be limited to) name, manufacturer, and recognition sequence. The class should also have a cut_dna object method that takes a sequence as an argument and returns an array of digested DNA fragments
AND
2. Write the same class as in problem 1, using "old school" Perl object-oriented programming. Make sure you support all the same methods as the Moose class offers -- the API of this module should be exactly the same as the one in question 1.
Explanation / Answer
q1.pm
====================================================================================
q2.pm
==============================================================================
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.