ACK! It was the file name, I had a small typo in it that I didn't catch earlier. So now I ran it, but there are still some issues which I can't pin down.
The errors and output
Odd number of elements in anonymous hash at C:\..\perl\tokeparser.pl l +ine 17. Odd number of elements in anonymous hash at C:\..\perl\tokeparser.pl l +ine 17. Odd number of elements in anonymous hash at C:\..\perl\tokeparser.pl l +ine 17. Odd number of elements in anonymous hash at C:\..\perl\tokeparser.pl l +ine 17. Odd number of elements in anonymous hash at C:\..\perl\tokeparser.pl l +ine 17. Odd number of elements in anonymous hash at C:\..\perl\tokeparser.pl l +ine 17. Odd number of elements in anonymous hash at C:\..\perl\tokeparser.pl l +ine 51. $VAR1 = { 'Saving Throw:' => { 'None' => undef }, 'Casting Time:' => { '2' => undef }, 'Area of Effect:' => { '10 yds./level' => undef }, 'Range:' => { '0' => undef }, 'Duration:' => { '5 rds./level' => undef }, 'Level:' => { '2' => undef }, 'Components:' => { 'V, S, M' => undef } };
line 17
$hash{$key} = { @table };
line 51
$hash{$key} = { @table };
I still haven't had that A-HA! moment where I get how this works.
In reply to Re^4: Parsing HTML into various files
by Lady_Aleena
in thread Parsing HTML into various files
by Lady_Aleena
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |