CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
adding the numbers

 



kojr
Novice

May 7, 2001, 10:36 AM

Post #1 of 1 (502 views)
adding the numbers Can't Post

I have a text file which contains data like this
serial|type1|type2
1|15|10
1|10|20
2|5|10
3|20|5
3|10|5
after triming and adding through script it change to

serial|type1|type2
1|25|30
2|5|10
3|30|

#here serial no remain unchange but colum numbers add together and returns to the sum


 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives