We don't bite newbies here... much | |
PerlMonks |
RE: Multiple file readingby perlmonkey (Hermit) |
on Jul 27, 2000 at 07:27 UTC ( [id://24622]=note: print w/replies, xml ) | Need Help?? |
I think this is what you want: Results: x0x0111x0xYou just have to read in each line of your files, then split the characters into an array. The splice line is sort of tricky. It inserts each element of @b into @a, at the 1st, 3rd, 5th ... position of @a. I hope this helps. There may be another and better way to merge arrays, but I cant think of one right now.
In Section
Seekers of Perl Wisdom
|
|