I think your problem is that you're clearing the lookup table %entity for every line (within the loop). The BEGIN block runs only once however...while (<IN>) { my %entity; # <--- ...
Set it up outside of the loop instead.
In reply to Re: Troubleshooting a character reference converter script
by Anonymous Monk
in thread Troubleshooting a character reference converter script
by elef
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |