in reply to Re^2: Read two files and print
in thread Read two files and print
@data inside <<END_TEXT prints only one row. How can I print entire array inside <<END_TEXTopen FH, '<file1.txt'; @data = <FH>; open FH1, '<file2.txt'; @data1=<FH1>; my $text1 = <<END_TEXT; @data END_TEXT my $text2 = <<END_TEXT1; @data1; END_TEXT1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Read two files and print
by GrandFather (Saint) on Feb 27, 2009 at 05:11 UTC | |
|
Re^4: Read two files and print
by Marshall (Canon) on Mar 01, 2009 at 16:37 UTC |