Re: Skipped lines

2001-05-05 Thread Brett W. McCoy
On Fri, 4 May 2001, David Monarres wrote: > I thought that CTRL-Z was the key combo in the Windows world. (but for 2000 > I do not know) Yep, still ^Z in Win2K also. -- Brett http://www.chapelperilous.net/btfwk/

Re: Skipped lines

2001-05-04 Thread David Monarres
On Fri, 04 May 2001 13:29:06 Steve Neu wrote: > I was thinking CTRL-C would exit the program prematurely without printing > anything but I didn't try it, so I am probably wrong. > > I thought that CTRL-Z was the key combo in the Windows world. (but for 2000 I do not know) David Monarres <[EM

Re: Skipped lines

2001-05-04 Thread Ed Keer
This is happening on a number of programs I wrote. Oddly enough the one I mentioned in my last post works fine now. Here is code copied directly from the book: print "Enter the line number: "; chomp($a = ); print "Enter the lines , end with ^Z:\n"; @b = ; print "Answer: $b[$a-1]"; It is sitll

Re: Skipped lines

2001-05-04 Thread Paul
--- Steve Neu <[EMAIL PROTECTED]> wrote: > I was thinking CTRL-C would exit the program prematurely without > printing anything but I didn't try it, so I am probably wrong. Just at a guess, I'd say it depends on the OS. On UNIX, I'd bet you're right.

Re: Skipped lines

2001-05-04 Thread Brett W. McCoy
On Fri, 4 May 2001, Steve Neu wrote: > I was thinking CTRL-C would exit the program prematurely without printing > anything but I didn't try it, so I am probably wrong. Theoretically, it should terminate the program. On Win2K, when you ^C certain command-line apps, you get this message: Th

Re: Skipped lines

2001-05-04 Thread Steve Neu
I was thinking CTRL-C would exit the program prematurely without printing anything but I didn't try it, so I am probably wrong.

Re: Skipped lines

2001-05-04 Thread Brett W. McCoy
On Fri, 4 May 2001, Dan Brown wrote: > Note that when running the script the text "" isn't printed > until the script exists. It's printed the input prompt that appears > after the script exist. I added it to make it clear what was entered > where. > > If the code you include below is not all o

Re: Skipped lines

2001-05-04 Thread Brett W. McCoy
On Fri, 4 May 2001, Ed Keer wrote: > Here's a very beginner question. I am working through > the learning perl for win32 book and find that when I > use to out info into an array, the program > ignores the following print line. For example, given > the folliwng lines in the program: > > >@list

Re: Skipped lines

2001-05-04 Thread Dan Brown
Is that all of your code? I tried it with Perl C:\WINNT\PROFILES\dan>perl -V Summary of my perl5 (5.0 patchlevel 5 subversion 03) configuration: Platform: osname=MSWin32, osvers=4.0, archname=MSWin32-x86-object on NT (I don't have an ME machine around to try