http://qs321.pair.com?node_id=1232364

SearchigPerl has asked for the wisdom of the Perl Monks concerning the following question:

Hi fellow monks,
I am running a script uploading files to my webspace as long as a certain filesize is not exceeded.

In case the file is larger, I want the script to prompt for a password in order to decide wether or not to abort the upload.
My Problem is that STDIN is not pointing to my keyboard but to the server's STDIN...

How to get around that Problem ? Hint: Term::Keys is not installed in the webserver