in reply to Re^2: version compatability
in thread version compatability

Have you verified that the value of $strFile is exactly the same in both scripts when that line is executed? What is an example value? If it's not the same, how is $strFile set?

Does the script have 'use warnings;' and 'use strict;'? If not, anything new when you add them?
Update: ysth points out that 'use warnings' is a perl >= 5.6.0 thing. Hopefully 'use strict' will still help the OP to help us help him..

Replies are listed 'Best First'.
Re^4: version compatability
by ysth (Canon) on May 06, 2005 at 16:20 UTC
    On 5.004, it had better not have 'use warnings;', which was added in 5.6.0.
Re^4: version compatability
by dani681 (Initiate) on May 06, 2005 at 01:45 UTC
    I know that the var is the same on both servers because it is supposed to go through the regex and output to a txt file. On my server the regex has taken out the specific characters and on my friend's server it prints with the characters still in the string.