Rafael Morales wrote: > Hi list. > > I have two files which I compare: > first file: > 813|42006|34913|373376|SALAZAR/BERLANGA/JUAN FRANCISCO > K00|42004|999999|489545|FAUSTO/PERALTA/PORFIRIO > 900|72059|2031|237648|CAZARES/GUTIERREZ/ALEJANDRO > 211|42005|34913|86258|GUZMAN/DIAZ/CARLOS NOE > > second file: > 000|42006|34913|373376|SALAZAR/BERLANGA/JUAN FRANCISCO > 111|42004|999999|489545|FAUSTO/PERALTA/PORFIRIO > 222|72059|2031|237648|CAZARES/GUTIERREZ/ALEJANDRO > 333|42005|34913|86258|GUZMAN/DIAZ/CARLOS NOE|20050609 > > As you can see the first column is different so I need to update the second > file for both files have the same values, how could I do it ??? > Note: My comparison works fine, I just need update it. > > Thanks and regards !!! >
What have you tried? Where did it fail? Show us some code. perldoc perlopentut perldoc Tie::File perldoc DBD::CSV http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>