Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

/r

Status
Not open for further replies.

newtarge

ISP
Oct 27, 2003
21
0
0
US
How do I allow for carriage returns in asking a question and getting a small paragraph of in put back?
 
Do you mean if someone is writing from STDIN? If so, you feed their input into an array instead a scalar. Their input will not be terminated by a carriage return if data is being fed to an array. They have to use ctrl+z on windows or ctrl+d on linux to stop input.
 
since it sounds like the same question, lets try to keep this in one thread, okay targe?

________________________________________
Andrew - Perl Monkey
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top