|
|
| Just another Perl shrine | |
| PerlMonks |
Re: Strange crash - any ideas?by Roger (Parson) |
| on Oct 19, 2003 at 22:20 UTC ( [id://300456]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Question 1 - is "/A/sub/$strTName" a file? If so, you probably need to open it with open ASUBFILE, "</A/sub/$strTName". Question 2 - is $strTName defined? Try to insert a print statement and print out the $strTName variable. Question 3 - Why is there a reference to $strTickerName, not $strTName? The behaviour you have described happens most likely when you read past the end of the file, which happened to me a few times in the past. If you are running the script under Unix environment, you could try out the execellent 'ddd' debugger. Which does a good job at debugging perl scripts.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||