Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Parsing multi-line record with varying data

by VoidWander (Initiate)
on Aug 12, 2013 at 01:36 UTC ( #1049046=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $count{$month}{$day}{$ID}++;
  2. or download this
     
    rn: uid:<user>, <irrelevant-text>
    id-info: <URL> | 12345
    ...
    id-info: <URL> | 134257
    869 | <random-string>
    creation-time: 1366069064
    
  3. or download this
    if (/id-info:/mg){
       ($_ =~ /.*\|(\d+) \|/mg)
        print $1, "\n";
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2014-08-20 07:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (107 votes), past polls