James Edward Gray II <[EMAIL PROTECTED]> wrote: > This what you mean?
> @one_line_per_index = <FILE>; > $multiple_lines = join '', @one_line_per_index; > On Tuesday, September 3, 2002, at 01:35 PM, Tim Musson wrote: >> sub GetBodyFromFile { >> my $file = $0; >> open (INFO, $file); >> @body = <INFO>; >> close(INFO); >> $body=" >> 123456789012345678901234567890123456789012345678901234567890123456789012345678 >> 1 2 3 4 5 6 7"; >> } >> > James perldoc -q 'entire file' Found in /opt/perl/lib/5.6.1/pod/perlfaq5.pod How can I read in an entire file all at once? -- Mother is the name for GOD on the lips and hearts of all children. - Eric Draven -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]