http://www.perlmonks.org?node_id=136409


in reply to bookkeeping


Is it supposed to output something to screen?

i've tried it on mac osx, redhat linux, and solaris 8 with perl5.6.0 on all three. i've tried with and without trailing spaces. i don't see anything offhand that would cause it to not run, but then again it's hard to debug something that doesn't seem to do anything.

Is this for 5.6.1 or later? am i missing something about trailing whitespace? i figure i'm doing something wrong and that the code is fine, and with that assumption is there something i should do to get the code running?

jynx

Replies are listed 'Best First'.
Re: Re: bookkeeping
by petral (Curate) on Jan 05, 2002 at 04:15 UTC
    Yes (er, no), qmax already told me he couldn't run it on one machine and we narrowed it down to 5.6.0.   Apparently, it runs on 5.03, 5.04, 5.05 and 5.6.1!   If I get a chance to snag a copy of 5.6.0 to install, I'll see if I can figure it out.   Also, It won't run on 5.01 (and I guess 5.02) because it's using (?<=.) in a regex. Sorry. :-(

      p
Re: Re: bookkeeping
by petral (Curate) on Jan 07, 2002 at 19:15 UTC
    OK, is it fixed now?   I think 5.6.0 was evaluating autoflush numerically instead of logically.

      p

      Yes!

      That's pretty interesting, i'll have fun trying to understand it :)

      jynx