in reply to one-liner pi

You should do a $|++ before the program starts, or it won't display anything until you exit :(

Replies are listed 'Best First'.
Re: Re: one-liner pi
by zeno (Friar) on Feb 15, 2001 at 14:34 UTC
    Hi MrNobo1024,

    It didn't happen that way for me... I thought that print did line buffering if it was printing to the terminal, and block buffering when printing to a filehandle.

    However... it nicely obfuscates the code a little more if I do put it in! So I did. Thanks for the tip! ;)
    -zeno