in reply to $/ usage

Did you ask B::Deparse what your code looks like?

perlrun says to use -0777 for slurp, both work for me

naturally my shell doesn't interpolate $ in double quoted strings

Replies are listed 'Best First'.
Re^2: $/ usage
by mimiandi (Novice) on Jan 02, 2013 at 21:47 UTC

    using Deparse shows the following
    $ perl -MO=Deparse,-P -e 'undef $/; $text=<>; print $text; $/="\n";' list
    undef $/;
    $text = <ARGV>;
    print $text;
    $/ = "\n";
    -e syntax OK
    Not familiar with Data::Dump module but i did tried with -0777 but the result was same.