in reply to IP magic

Errors out for me:
Global symbol "$while" requires explicit package name at (eval 1) line 1.
Bareword "DATA" not allowed while "strict subs" in use at (eval 1) line 1.

- Ozymandias

Update: The problem may just be the version of Perl on this particular system. I'll try later on another system.

Update: I tried it again on my main system, which is Perl 5.005_65? I think. Worked fine. Those darned gremlins...

Replies are listed 'Best First'.
RE: RE: IP magic
by cwest (Friar) on Jun 14, 2000 at 01:47 UTC
    Wrote it on 5.6.0, just tested it on 5.005_3 and it works.

    I had a problem that I remidied quicky involving an escape character that I cut and pasted, obviosly breaking the code when one of the monks cuts and pastes, but I fixed that quickly, the code you see above should work correctly.

    The same goes for mcwee's problem.

    Please try it again and let me know. In the mean time, I'm going to vote both your posts ++ as a thank you for trying the code.

    --
    Casey