Hello!

I need help whith perl.

I have 2 files, i whant to open them compare one column and if they iqual i whant to write at the 1ª file some columns of the second file.

Exemple:
File 1

2; apartamento; T2; manuel; 120.000€; Activo
4; moradia; V4;José; 250.000€; Suspenso

File 2
12; manuel; arcozelo; 234567888; activo
23; josé; Londres;004444444;Activo

Result
2; apartamento; T2; manuel; 234567888; 120.000€; Activo
4; moradia; V4;José; 004444444; 250.000€; Suspenso

Can you help me please.

Recommended Answers

All 2 Replies

See other (duplicate) thread.

At least why cant people look around before they post something?

And please post your code. Show that you are doing something yourself.
We are not workers but helpers. ;)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.