Forgive me if my secret homework sensors are too sensitive but this sounds like a homework assignment.
Because it sounds like a homework assignment, I'll give you pointers to the documentation which should be very useful. On Tue, Jan 08, 2002 at 08:47:33AM -0800, Peter Lemus wrote: : :Hi, :I have a file "1st file) that reads... :one :two :three :four :five : :Anotherone "2nd file"that reads: :day :weeks :months :quarter :year :century : :I need to read the 2nd file and add the text from it :to every word of the first 1st file. So it will look :something like: : :oneday :oneweek :onemonth :onequarter :oneyear :onecentury :twoday :twoweek etc..etc. : :Pleas give me an example on how I can accomplish this. You need to read perlfaq4. There is an entire section on arrays and, in particular, a few sections on permutations of lists and other data structures. So be sure to read 'perldoc perlfaq4'. Casey West -- Shooting yourself in the foot with Ada The Department of Defense shoots you in the foot after offering you a blindfold and a last cigarette. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]