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

You don't need to put the print in a while loop.
print <HTML>;reads in list context

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: calling a html file from a perl script
by suaveant (Parson) on Jul 24, 2001 at 00:13 UTC
    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