Keep It Simple, Stupid | |
PerlMonks |
How can I define the subroutine to get the result of the appended string i.e. ATGCTTTT?by supriyoch_2008 (Monk) |
on Sep 25, 2012 at 16:17 UTC ( [id://995585]=perlquestion: print w/replies, xml ) | Need Help?? |
supriyoch_2008 has asked for the wisdom of the Perl Monks concerning the following question: Hi Perlmonks, I have made a perl module DNAappend.pm with a single subroutine DNAappend in order to learn the steps of making a module. Then I have written a small script i.e. joindna.pl. When I have tried to run the perl script, the command window does not show the expected result. I can't make out where I have made the mistake in the script. I know it could be a very silly question to the perl monks but I am at my wit's end to find the solution. I welcome any constructive suggestions from the perlmonks about the script and perl module. Here goes the script joindna.pl
I have written the DNAappend.pm as follows:
The command window has shown the result:
The correct result should look like: ATGCTTTT
Back to
Seekers of Perl Wisdom
|
|