in reply to Pre-populating <STDIN> with a default value
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 Bob We Trust, All Others Bring Data.
|
---|
In Section
Seekers of Perl Wisdom