Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

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/ 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 "" 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 ;)

In reply to How can I suppress 'uninitialized' warnings in a CPAN module? by zork42

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • 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 or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2022-01-24 10:34 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (64 votes). Check out past polls.