Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Split file using perl and regexp

by AnomalousMonk (Canon)
on Jan 17, 2013 at 22:37 UTC ( #1013903=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    >perl -wMstrict -le
    "my @records = (
    ...
    
    '1|1212|34353|56575|||||4|~somedata~10.10.10.10.12~3333~~a~~~~'
    '1|1212|34353|56575|||||4|10.10.10.10.12|3333'
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1013903]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2016-12-06 11:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (102 votes). Check out past polls.