in reply to Parsing an RTF File as plain text.

Questions: 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)