Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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?
[Corion]: LanX: cmd.exe is just another way to launch Perl
[LanX]: I know its a cult... and I repent it every time
[LanX]: But cygwin comes with path problems and powershell requires too much learning for me
[LanX]: eshell in emacs is often my resort in development
[LanX]: Thx found a solution! :)
[Eily]: I wrote "your" instead of "you're" :'(
[Eily]: I guess it means that my English is good enough that I make the same mistakes as native speakers though :/

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2017-03-27 16:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (320 votes). Check out past polls.