CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:
2D array help please



Feb 17, 2011, 11:46 AM

Post #1 of 2 (681 views)
2D array help please Can't Post

Hi Gurus,

Attached is my code should you wish to view it. it compares two strings and where a match is found, a dot is printed. what I need help with is how to work diagonally within the matrix. as the sequences are matched a succession of matches will give a diagonal string of dots. what i want to achieve is, if there are more than a certain amount of dots (say greater than 5) then the dots remain but single dots or up to a diagonal of four are not printed.
any help would be very much appreciated

(This post was edited by unterglayben on Feb 17, 2011, 11:46 AM)
Attachments: (0.78 KB)


Feb 19, 2011, 10:42 AM

Post #2 of 2 (642 views)
Re: [unterglayben] 2D array help please [In reply to] Can't Post

Sorry about the deleted post. My algorithm was incorrect Pirate
Good Luck,


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives