try to replace your 'while' loop with this one:
while (<XFILE>) { chomp; print (LIST "$_","\n") if /\<(name|keywords|description|results)\>/ .. /\<\/$1\>/; }
Enjoy,
Mickey
In reply to Re: Reading b/w tags
by mickeyn
in thread Reading b/w tags
by gzayzay
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |