Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: $/ usage

by Anonymous Monk
on Jan 02, 2013 at 21:27 UTC ( #1011353=note: print w/ replies, xml ) Need Help??

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
Comment on Re: $/ usage
Download Code
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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1011353]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2016-05-30 17:42 GMT
Find Nodes?
    Voting Booth?