I got a parsing script to work on a regular file. Now, when I try to use with an XML file to doesn't work, (no ouput). I even tried a regular print statement after creating the array, (\n\n\ELEPHANTS), Below is the code.
my $line = <>;
print "This is what line looks like $line \n";
while (defined($line = <>)) {
#chomp($line);
print "This is what line looks like $line \n";
my @items = (split /N/, $line);
#printf "\n\n\nCustomer Name: %-24s \n", $items[31], $items[32], [
+33];
print "\n\n\n.ELEPHANTS\n";
}
TIA
The Catfish