go ahead... be a heretic | |
PerlMonks |
Re^2: NOT_FOUND_ERR in insertAfter()by boftx (Deacon) |
on Sep 25, 2013 at 05:25 UTC ( [id://1055607]=note: print w/replies, xml ) | Need Help?? |
Update I tested the change above, and found that it does not correct the problem, you need to use the form I have below with undef as the second arg to insertAfter. It is possible that this is a result of different versions, so test for yourself. End update I was just going to post the same thing as above after a quick test script. Here is the output produced by making the change:
On a different note, you should always have use strict; and use warnings; as well as check for critical failures in your code, like this:
On time, cheap, compliant with final specs. Pick two.
In Section
Seekers of Perl Wisdom
|
|