Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: printing contents of small files into one larger one

by mlh2003 (Scribe)
on Nov 09, 2005 at 12:41 UTC ( #507054=note: print w/replies, xml ) Need Help??


in reply to Re: printing contents of small files into one larger one
in thread printing contents of small files into one larger one

What's wrong with slurping each file into an array? As in
my @line = <FH>;
(where FH is the filehandle of the currently-opened file). Am I missing something?

UPDATE:
Aside from using a different approach to read the file into an array, the final output still needs to have the data transposed.
_______
Code is untested unless explicitly stated
mlh2003

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://507054]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (1)
As of 2021-10-22 04:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (85 votes). Check out past polls.

    Notices?