in reply to Shell output in perl CGI

You can turn off buffering using $| = 1; but I don't think that will help with wget. That is, I don't think wget writes to sdio in a way that perl will capture it - on windows anyway. But you have the html (I forget the tag) reload a cgi script that used ls -l every 5 seconds and get some easy updates.