Think about Loose Coupling | |
PerlMonks |
Re: Pre-populating <STDIN> with a default valueby belg4mit (Prior) |
on Dec 24, 2008 at 01:58 UTC ( [id://732400]=note: print w/replies, xml ) | Need Help?? |
The conventional method is to simply show the default in brackets and use that if the response is empty. You could also probably work something bass-ackwards out with
FileHandle::Unget
--
In Section
Seekers of Perl Wisdom
|
|