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

Re: replace/substituion 4th field

by 2teez (Vicar)
on Feb 20, 2013 at 08:12 UTC ( [id://1019731]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
       ...
        if ( $sum > 310 ) {
    ...
            $line =~ s/(.*?)\,(.*?)\,(.*?)\,(.*?)\,(.*?)\,(.*?)/$1\,$2\,$3
    +\,$sum3,$5,$6/g;
        }
     ...
    
  2. or download this
    623192729079,510993192729079,19,volemd,0,133,282051608,
    623192728769,510993192728769,19,310,0,118,84950715,
    ...
    622198575655,510992198575655,19,1,0,
    623192724589,510993192724589,19,volemd1,0,
    622743581281,510992743581281,19,71,0,
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-24 19:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found