in reply to Re: Script no longer exiting
in thread Script no longer exiting

Thanks for the advice, I certainly will do that (I hope to get to it later today). I'm not really sure how to run perl in the debugger. I apologize for not including the output or being more explicit in my original post.

The output is:
c:\WINDOWS>snp500eps xxx xxx scg@mailhost.com Getting SNP file from web. . . Done getting file. . . Opened Spread... 19.24 18.52 18.13 16.97 17.24 16.31 68.65 Different values! DB: 68.07 silly program doesn't know it's over at C:\Perl\bin\snp500eps.pl line +63. WEB: 68.65

where it just hangs with a blinking cursor at the end of "68.65_" (the underscore is the cursor). It does get the spreadsheet, the spreadsheet can be opened and the values get printed out appropriately, and the email is sent (so I know the variables' values are fine, and it certainly appear that it does actually get to the die function).

Typically, I do use warnings, one reason I didn't here is because I notice a warning coming out of BasicRead related to a pack statement (this doesn't seem to interfere with actually reading the spreadsheet, however).

Replies are listed 'Best First'.
Re^3: Script no longer exiting
by Roger (Parson) on Oct 19, 2004 at 05:00 UTC
    Looks suspicious, smells like some sort of text input problem. Can you try to append "\n" to the end of the $result, and see what happens?