Thanks for your reply!
I replaced the "print" statement in the above code with your code and am trying to print the hash, like:
.... } $xmlhash{$info_name} = $it_size; #print "$info_name : $it_size\n"; close(XML); } foreach $k (sort keys %xmlhash){ print "$key: $xmlhash{$key}\n"; }
I am very sure I am going wrong here, as obviously I cannot print the hash???Also, since I am reading from multiple files I want to print the values in all the files read in??
In reply to Re^2: Parse XML with Perl regex
by ad23
in thread Parse XML with Perl regex
by ad23
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |