in reply to Re: Re: calling a html file from a perl script
in thread calling a html file from a perl script

Yes you do, unless you put the print in a while loop.

                - Ant

  • Comment on Re: Re: Re: calling a html file from a perl script

Replies are listed 'Best First'.
Re: Re: Re: Re: calling a html file from a perl script
by I0 (Priest) on Jul 23, 2001 at 23:45 UTC
    You don't need to put the print in a while loop.
    print <HTML>;reads in list context
      Ahhh... that is true... I'd thing using the local $/; would be more efficient, tho, since it doesn't need to convert the output to a list.

                      - Ant

        I'd have thought a print while <HTML>; loop would be more efficient, since it doesn't need a huge memory buffer, and it can be doing the input and output simultaneously