Hi
When I run the code here
basic implementation of a RTF->text converter, I get this output:
Use of uninitialized value in concatenation (.) or string at C:/Perl/s
+ite/lib/RTF/Tokenizer.pm line 208, <GEN0> line 47. <-- how can I sup
+press this warning?
CM WEEKS/DAYS BPD HC AC Femur Length A regular fetal heart rate of ? b
+eats per minute is seen. <-- expected outp
+ut
How can I suppress the "uninitialized value" warning?
Why does the "
no warnings 'uninitialized';" not work?
Do I need to edit "Tokenizer.pm" to suppress the warning? (Yuck!)
Or is there a better way?
I am running Active Perl 5.16.3
Thank you!
UPDATE: I forgot to say that I'm using the newest version of
RTF::Tokenizer : version 1.13
UPDATE: I should have said that I am interested in a generic solution. The above is just the current annoyance ;)
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.