From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: djgpp or perl? Date: 11 Nov 2002 19:35:00 GMT Organization: Cornell University Lines: 23 Sender: asu1 AT cornell DOT invalid (on pool-141-149-208-190.syr.east.verizon.net) Message-ID: References: <3DCFF598 DOT 98EA2134 AT junk DOT net> NNTP-Posting-Host: pool-141-149-208-190.syr.east.verizon.net X-Trace: news01.cit.cornell.edu 1037043300 5015 141.149.208.190 (11 Nov 2002 19:35:00 GMT) X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu NNTP-Posting-Date: 11 Nov 2002 19:35:00 GMT User-Agent: Xnews/5.04.25 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Ian Chapman wrote in news:3DCFF598 DOT 98EA2134 AT junk DOT net: > I’m at sympatico dot ca not junk.net > Hi, > I’m having a small problem with ctl D in that I’m not able generate > this in perl under both DOS and Bash. > > Perl –e ‘@junk = ;’ > > Should put the keyboard output into array junk including multiple CR > bytes. The exit is ctl D. All I get from ctl D is “^D” and I’m stuck > until I give ctl C followed by CR which junks me out of perl back to > the shell command line. Any ideas? The representation of EOF is system dependent. On DOS systems, it is CTRL-Z as opposed to the Unix convention of CTRL-D. -- A. Sinan Unur asu1 AT c-o-r-n-e-l-l DOT edu Remove dashes for address Spam bait: mailto:uce AT ftc DOT gov