Re: Properly displaying items from hash

2008-04-25 Thread icarus
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 =

Re: Properly displaying items from hash

2008-04-24 Thread John W. Krahn
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

Re: Properly displaying items from hash

2008-04-24 Thread Gunnar Hjalmarsson
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

Re: Properly displaying items from hash

2008-04-24 Thread J. Peng
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

Properly displaying items from hash

2008-04-24 Thread icarus
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