Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Split file using perl and regexp

by brad_nov (Novice)
on Jan 17, 2013 at 19:34 UTC ( #1013867=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    1|1212|34353|56575|||||4|~somedata~some data~~~~~~~~~~~~some data~~~~~
    +~~~~~~~~~some data~~~~~~~pi=[10.10.10.10.10],uid=[23231131]}~
    1|1212|34353|56575|||||4|~somedata~some data~~~~~~~~~~~~some data~~~~~
    +~~~~~~~~~some data~~~~~~~pi=[10.10.10.10.11],uid=[3456]}~
    ...
    1|1212|34353|56575|||||4|~somedata~some data~~~~~~~~~~~~some data~~~~~
    +~~~~~~~~~some data~~~~~~~pi=[10.10.10.10.14],uid=[323]}~
    1|1212|34353|56575|||||4|~somedata~some data~~~~~~~~~~~~some data~~~~~
    +~~~~~~~~~some data~~~~~~~pi=[10.10.10.10.10],uid=[97945641564]}~
    1|1212|34353|56575|||||4|~somedata~some data~~~~~~~~~~~~some data~~~~~
    +~~~~~~~~~some data~~~~~~~pi=[10.10.10.10.10],uid=[1654594]}~
    
  2. or download this
    1|1212|34353|56575|||||4|10.10.10.10.10|23231131
    1|1212|34353|56575|||||4|10.10.10.10.11|3456
    ...
    .
    .
    .
    
  3. or download this
    1|1212|34353|56575|||||4|~somedata~some data~~~~~~~~~~~~some data~~~~~
    +~~~~~~~~~some data~~~~~~~390=10.10.10.10.10,391=23231131,394~
    1|1212|34353|56575|||||4|~somedata~some data~~~~~~~~~~~~some data~~~~~
    +~~~~~~~~~some data~~~~~~~390=10.10.10.10.11,391=3456,394~
    ...
    1|1212|34353|56575|||||4|~somedata~some data~~~~~~~~~~~~some data~~~~~
    +~~~~~~~~~some data~~~~~~~390=10.10.10.10.14,391=323,394~
    1|1212|34353|56575|||||4|~somedata~some data~~~~~~~~~~~~some data~~~~~
    +~~~~~~~~~some data~~~~~~~390=10.10.10.10.10,391=97945641564,394~
    1|1212|34353|56575|||||4|~somedata~some data~~~~~~~~~~~~some data~~~~~
    +~~~~~~~~~some data~~~~~~~390=10.10.10.10.10,391=1654594,394~
    
  4. or download this
    1|1212|34353|56575|||||4|10.10.10.10.10|23231131
    1|1212|34353|56575|||||4|10.10.10.10.11|3456
    ...
    .
    .
    .
    
  5. or download this
    1|1212|34353|56575|||||4|~somedata~10.10.10.10.10~123546~~~~~~~~~~~som
    +e data~~~~~~~~~~~~~~some data~~~~~~~
    1|1212|34353|56575|||||4|~somedata~10.10.10.10.11~546~~~~~~~~~~~some d
    +ata~~~~~~~~~~~~~~some data~~~~~~~
    ...
    1|1212|34353|56575|||||4|~somedata~10.10.10.10.10~15464~~~~~~~~~~~some
    + data~~~~~~~~~~~~~~some data~~~~~~~
    1|1212|34353|56575|||||4|~somedata~10.10.10.10.10~8465~~~~~~~~~~~some 
    +data~~~~~~~~~~~~~~some data~~~~~~~
    1|1212|34353|56575|||||4|~somedata~10.10.10.10.10~15654~~~~~~~~~~~some
    + data~~~~~~~~~~~~~~some data~~~~~~~
    
  6. or download this
    1|1212|34353|56575|||||4|10.10.10.10.10|123546
    1|1212|34353|56575|||||4|10.10.10.10.11|546
    ...
    .
    .
    .
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2015-07-05 19:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls