in reply to Re: Special characters ignored
in thread Special characters ignored

I did undefine $/, in the first line of my example. I also tried it your way, no luck.

tigervamp

Replies are listed 'Best First'.
Re: Re: Re: Special characters ignored
by jepri (Parson) on Oct 03, 2001 at 18:18 UTC
    Whaddya know, I am an idiot after all.

    To redeem myself slightly I will explain that local $/; is better because at the end of the code block (pretty much anything in curly braces) $/ will return to it's previous value, thus preventing you from mysteriously jinxing other subroutines.

    It doesn't matter in one liners but if you read from two files $/ applies to both - so changing it changes both file handles.

    ____________________
    Jeremy
    I didn't believe in evil until I dated it.