|
Hi!
Would appreciate some help on the following simple issue:
I have 2 text files, names.txt and numbers.txt. Names contains a list of names and numbers contains a list of numbers. I have successfully managed to open both in my Perl program and output their content to arrays (named names and numbers). I need to create a new file called suppliers.txt containing the names and numbers together on one line in the following format name:number
To clarify, names.txt might have
mark
dave
mike
numbers.txt might have
5465
5345
8456
suppliers needs to have
mark:5465
dave:5345
mike:8456
Any help would be greatly appreciated
|