Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Extract all occurrence of one msg and compare the value of the msg which is closest to the end msg

by dwslovedh (Novice)
on May 29, 2013 at 15:30 UTC ( [id://1035866]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    MSG_ID_CELL_INFO_PRINT sn=1 cellid=2; 
    MSG_ID_CAMP_RSP sn=2 cellid=2; 
    ...
    MSG_ID_CAMP_RSP sn=23 cellid=2;  
    MSG_ID_CELL_INFO_PRINT sn=24 cellid=2;  
    MSG_ID_CELL_CAMP_REQ sn=25 cellid=2;
    
  2. or download this
    MSG_ID_CELL_INFO_PRINT sn=1 cellid=2; 
    MSG_ID_CAMP_RSP sn=2 cellid=2; 
    ...
    MSG_ID_CAMP_RSP sn=12 cellid=2; 
    MSG_ID_CAMP_RSP sn=14 cellid=3; 
    MSG_ID_CELL_CAMP_REQ sn=15 cellid=2;
    
  3. or download this
    MSG_ID_CELL_INFO_PRINT sn=16 cellid=2; 
    MSG_ID_CELL_INFO_PRINT sn=17 cellid=2; 
    ...
    MSG_ID_CAMP_RSP sn=23 cellid=2;  
    MSG_ID_CELL_INFO_PRINT sn=24 cellid=2;  
    MSG_ID_CELL_CAMP_REQ sn=25 cellid=2;
    
  4. or download this
    my $str = shift; #the data showed in the above
    my $beg = "MSG_ID_CELL_INFO_PRINT";
    ...
      }
     }
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-25 20:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found