Thanks everybody...here is the final code I crafted from my original
and your suggestions.
#!/usr/bin/perl
use warnings;
use strict;
my $ca_path = "log_ca.txt";
my $aa_path = "log_aa.txt";
my %final_report;
my @ca_filenames;
my @aa_filenames;
open (CAFILE, $ca_path) or die $!;
my @ca_files =
icarus wrote:
I have two files: log_ca.txt and log_aa.txt
contents of log_ca.txt:
3->ca_filename3
4->ca_filename4
1->ca_filename1
2->ca_filename2
contents of log_aa.txt:
1->aa_filename1
3->aa_filename3
2->aa_filename2
4->aa_filena
icarus wrote:
I have two files: log_ca.txt and log_aa.txt
contents of log_ca.txt:
3->ca_filename3
4->ca_filename4
1->ca_filename1
2->ca_filename2
contents of log_aa.txt:
1->aa_filename1
3->aa_filename3
2->aa_filename2
4->aa_filena
On Thu, Apr 24, 2008 at 9:35 AM, icarus <[EMAIL PROTECTED]> wrote:
> I have two files: log_ca.txt and log_aa.txt
> contents of log_ca.txt:
>
> 3->ca_filename3
> 4->ca_filename4
> 1->ca_filename1
> 2->ca_filename2
>
> contents of log_aa.txt:
>
> 1->aa_f
I have two files: log_ca.txt and log_aa.txt
contents of log_ca.txt:
3->ca_filename3
4->ca_filename4
1->ca_filename1
2->ca_filename2
contents of log_aa.txt:
1->aa_filename1
3->aa_filename3
2->aa_filename2
4->aa_filename4
The program