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 reply to Re: Strange crash - any ideas? by Roger
in thread Strange crash - any ideas? by AssFace

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":