Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Pre-populating <STDIN> with a default value

by belg4mit (Prior)
on Dec 24, 2008 at 01:58 UTC ( #732400=note: print w/ replies, xml ) Need Help??

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.

Comment on Re: Pre-populating <STDIN> with a default value

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://732400]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2015-11-27 08:53 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (722 votes), past polls