Is it me or is this snippet of code broken? I don't see how you can get an accurate answer from if (@lines == 1) {....
@lines = split(/\n/, $para); if (@lines == 1) # A Heading { $lastHeading = $lines[0]; next; }
Next, I am still not positive what the author wants which is probably just my interpretation of the question. Brassmon_k don't take anything I write here personal. I am just asking for my own clarification. I want to help because I find this topic near and dear to my work =P. I work for a telco and deal with this kind of stuff alllll the time. Never done wireless though.
I see that you want call information but I think I am missing how you want to extract this information and what you're grabbing this information from. I have a snippet of code I wanted to present but it works more along the lines of sucking a file (record file) in and spitting out all the lines containing the information I believe you want (not done yet, just grabs all lines with Cell right now). It places every line occurrence into an array and then every 2 lines into another array to seperate first and last cell. BUT, it seems this is not what you want in terms of your desired output, so I am a little lost on the question I think. Thank goodness the other monks could get ya. :) I am finding your question to be jumpy and for me it is not entirely understandable. I should clarify that I KNOW you want to actually get the information extracted from the lines containing 'Cell' in them and if I can get further personal clarification on this I can then tweak what I have so far and present it if you'd like.
----------
- Jim
In reply to Re: Can I match a range from an array?
by snafu
in thread Can I match a range from an array?
by brassmon_k
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |