Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Stuck in my final step of code using array of arrays

by Kenosis (Priest)
on Mar 02, 2014 at 17:35 UTC ( #1076723=note: print w/replies, xml ) Need Help??


in reply to Stuck in my final step of code using array of arrays

You've shown what you script prints. Given your specs, can you additionally show what you'd like it to print?

  • Comment on Re: Stuck in my final step of code using array of arrays

Replies are listed 'Best First'.
Re^2: Stuck in my final step of code using array of arrays
by Anonymous Monk on Mar 02, 2014 at 17:56 UTC
    Didn't I mention it??? Hm, maybe it wasn't clear... :)
    I would like to print:
    A0AWZ5\tPF03797\t548\t1073
      I can guess where the 1073 value is coming from, but can't see where the 548 is coming from (except, possibly, that it is one more that the end of the next element).
        It is actually the 1st letter after the end of the element in the array of arrays that precedes the "wanted" one (i.e. PF03797 in this case).
        I had:
        0 [ PF12951 421 455 ], 1 [ PF03797 822 1073 ], 2 [ PF12951 515 547 ],

        , so, I need the range between the end of whatever is before PF03797 until the beginning of whatever is after PF03797 (in this case there is nothing, since both PF12951 finish before the position 822 that PF03797 starts).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1076723]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2021-09-19 08:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?