in reply to
die on carriage return
Most terminal drivers convert carriage return to a newline (on UNIX, see stty(1)), so test
eq "\n"
. There should be no need for a regular expression.
Comment on
Re: die on carriage return
Download
Code
Replies are listed 'Best First'.
Re^2: die on carriage return
by
Bloodnok
(Vicar)
on Dec 31, 2008 at 11:46 UTC
Wouldn't that have a tendency to remove some of the platform agnosticism - assuming that's a design/implementation goal ... as it seems to be in most of the projects I've worked on ??
A user level that continues to overstate my experience :-))
[reply]
In Section
Seekers of Perl Wisdom