|Keep It Simple, Stupid|
Request to correct the perl code for getting substringsby supriyoch_2008 (Scribe)
|on Apr 19, 2012 at 11:04 UTC||Need Help??|
supriyoch_2008 has asked for the
wisdom of the Perl Monks concerning the following question:
I have written a perl code which is giving wrong results. I need your help to sort out this problem.
From an array, I am interested in getting the substrings starting with either A or G, followed by TG, followed by any number of characters, followed by T, followed by A or G, ending with A or G i.e. AGTG.*TAGAG
Result: I am getting the following wrong result from cmd:
Microsoft Windows Version 6.1.7600
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
Can't call method "say" without a package or object reference at C:\Users\DR-SUP RIYO\Desktop\perl2.pl line 11.
Correct Result should be like this:
The sequences , their lengths and positions are:
ATGNNNTAA; 9; 2-10<ATGNNTAG; 8; 15-22
I hope perl monks will help me get the correct result.