Hello All,

Just a quick question.

Just wondering how I would go about allowing a user to enter with STDIN
either a Y or a N, but have the default variable of N if the user just
hits enter.

So far I have...

print "Hit Y to continue: [N]";
$input = <STDIN>;

hmm.. something like that.

Kind Regards,

Dan

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to