in reply to Troubleshooting a character reference converter script
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Troubleshooting a character reference converter script
by elef (Friar) on Oct 27, 2010 at 18:15 UTC |