On Thu, 8 Jul 2004 15:06:49 -0700, John W. Krahn wrote > > then why are you using $/ instead of "\n" in your example?
I used to use \n but have converted to $/. I thought I was doing this to be less platform-specific and that's more important to me than readability. I could be just making things harder for everyone - let me know if that's the case. > The value in $^T should remain the same for the duration of the > program. When it changes does it stay at the new value or does it > switch back to the old value? I agree that it should remain the same, but it seems not to. Basically I have a logging function that can be called from anywhere in my code. It determines the log file name based on $0, $$, $^T, etc. Every once in a while I see one line written to a log that is very close to the right log file. For instance, most of the data goes to: jwest.CMIInstall.ipl.08-07-2004_09-00-02.2304.log but a little is written to: jwest.CMIInstall.ipl.08-07-2004_09-00-03.2304.log As I was unable to reproduce the issue with the simplified test case I am assuming that I've just lost more of my mind. I think I remember seeing this issue a few years ago (I wouldn't have posted if I wasn't pretty sure I had seen a valid case). Anyway if I can prove it I will summarize to the list. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>