perlquestion
zork42
Hi
<br><br>When I run the code here [id://506782|basic implementation of a RTF->text converter], I get this output:
<c>
Use of uninitialized value in concatenation (.) or string at C:/Perl/site/lib/RTF/Tokenizer.pm line 208, <GEN0> line 47. <-- how can I suppress this warning?
CM WEEKS/DAYS BPD HC AC Femur Length A regular fetal heart rate of ? beats per minute is seen. <-- expected output
</c>
<br>How can I suppress the "uninitialized value" warning?
<br>Why does the "<c>no warnings 'uninitialized';</c>" not work?
<br><br>Do I need to edit "Tokenizer.pm" to suppress the warning? (Yuck!)
<br>Or is there a better way?
<br><br>I am running Active Perl 5.16.3
<br><br>Thank you!
<br><br><b>UPDATE</b>: I forgot to say that I'm using the newest version of [mod://RTF::Tokenizer] : version 1.13
<br><br><font color="red" size="4"><b>UPDATE</b>: I should have said that I am interested in a generic solution. The above is just the current annoyance ;)