RE: system();

2000-05-22 Thread Frank Merrow
I am jumping in the middle of this tread without the whole thing . . . However, this isn't the old CMD.EXE redirection problem is it? STDOUT isn't redirected properly in some cases. It has to do with the nice magic CMD.EXE will do if you do things like type sheet.xls at the command prompt. They

Catching ctl-c

2000-05-11 Thread Frank Merrow
Here's my script END{print "I GOT TO THE END";} sleep 100; So the problem is to have it "GET TO THE END" on ctr-c. My reading of the Manual and FAQs lead me to believe putting this on the front would work: use sigtrap qw(die BREAK) but it didn't help . . . in fact the line eventually became

File Compare Module?

2000-05-11 Thread Frank Merrow
I am told there is a File::Compare module that will compare two files. A ppm search didn't show anything useful under "file" or "compare". Before I system("cmp $f1 $f2), does anyone know where to find this beast? Frank --- You are currently subscribed to perl-win32-users as:

Re: File Compare Module?

2000-05-11 Thread Frank Merrow
At 01:40 PM 5/11/00, Cameron Dorey wrote: Frank Merrow wrote: I am told there is a File::Compare module that will compare two files. A ppm search didn't show anything useful under "file" or "compare". Before I system("cmp $f1 $f2), does anyone know where to

Re: What does this mean?

2000-05-10 Thread Frank Merrow
At 05:16 PM 5/10/00, Jimmy S. Lim wrote: can someone help a newbie understand what ($i{$_} ++) means below? Thanks! while (IN) {unless ($i{$_} ++) {push (@Unique, $_)}} 1. It means you need a new Perl coder who isn't so full of himself. grin 2: I assume you know while(IN) says read a line

Excel and Perl (not exactly the usual questions)

2000-05-09 Thread Frank Merrow
Thanks to the examples in Win32::OLE and the other OLE modules, I have made some progress on working with Excel from Perl. So far only really simple things. However, I have a fairly aggressive project I've been tasked to do. In particular, discovering the actual (usable) interface with only