Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Parsing an RTF File as plain text.

by NetWallah (Canon)
on Apr 08, 2012 at 00:14 UTC ( [id://963956]=note: print w/replies, xml ) Need Help??


in reply to Parsing an RTF File as plain text.

Questions:
  • Why are you using 'printf' instead of 'print' ?
  • Where is the ":" in your output coming from ?
Please do not put html formatting (<b>) in your code. It makes it hard to pinpoint the mistakes.

             All great truths begin as blasphemies.
                   ― George Bernard Shaw, writer, Nobel laureate (1856-1950)

Replies are listed 'Best First'.
Re^2: Parsing an RTF File as plain text.
by Anonymous Monk on Apr 08, 2012 at 04:03 UTC
    print, printf, say, everyone of those, gives me the same error. the : comes from

    while($f < $n){ print "$users[$f]:$hashes[$f]\n"; $f += 1; }
      Ekimino - Are you posting as Anonymous ?
      That makes tracking responses difficult.

      Anyway - without some view of test data, it is difficult to see what the problem may be - for instance, your @users array could well be empty.

      The best bet is to post a small sample of re-populated data for @users, and @hash, and your print code.

      If that does not work as you expect, we can help.

                   All great truths begin as blasphemies.
                         ― George Bernard Shaw, writer, Nobel laureate (1856-1950)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://963956]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2024-04-23 11:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found