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 ;)
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|