in reply to print alternative to browser

What's wrong with print ? I mean you could write your own sub that looks like:

sub SendDataToClientBrowser { print "Content-Type: text/html\n\n", @_; + } # and then... SendDataToClientBrowser("Hey! What's up!?");

Replies are listed 'Best First'.
Re^2: print alternative to browser
by frank1 (Monk) on May 02, 2024 at 18:59 UTC

    thanks for the trick