Howdy all. I just moved from a IIS box to a unix one. i used to be able to deal with newlines with:
$mevar =~ /\n//gi;
but on the unix box this doesn't work! the \n char coems up as a square box and i can't for the life of me figure how to get rid of the bloody thing, so i can then use the flatfile dat db i was on the old box. it never makes a match now, because its seeing my read-in vars as "var\n" instead of "var". Much pain in the arse!
Thanks
Sib
Siberdude
siberdude@settlers.co.uk
$mevar =~ /\n//gi;
but on the unix box this doesn't work! the \n char coems up as a square box and i can't for the life of me figure how to get rid of the bloody thing, so i can then use the flatfile dat db i was on the old box. it never makes a match now, because its seeing my read-in vars as "var\n" instead of "var". Much pain in the arse!
Thanks
Sib
Siberdude
siberdude@settlers.co.uk