Sir,
It seems like this may be a very desireable action at times. EG. in the case where you want a script to be interactive, but also have it cronned with all of the values for it in another file. In which case <> will do exactly what you want in both cases. Isn't this more a question of style that what SHOULD/SHOULDN'T be done?
-Fatty Lumpkin
Update: Merlyn is 1000% correct, poor reading on my part, i missed the actual printed prompt.I am just used to doing something like
shift || (print "\nprompt:" and <>);
But that doesn't allow for this behavior either.I missed the point, Thanks for correcting me.