Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^9: Shouldn't references be readonly? (updated)

by chromatic (Archbishop)
on Aug 06, 2020 at 00:41 UTC ( [id://11120384]=note: print w/replies, xml ) Need Help??

in reply to Re^8: Shouldn't references be readonly? (updated)
in thread Shouldn't LITERAL references be readonly? (updated)

That... is actually a pretty good example.

Run it through Deparse though, and:

use strict; use warnings; use Data::Dump ('pp', 'dd'); use constant ('a', 1); $\ = "\n"; print \1; print \1; print \1; print \1;

Replies are listed 'Best First'.
Re^10: Shouldn't references be readonly? (updated)
by LanX (Saint) on Aug 06, 2020 at 01:35 UTC
    > Run it through Deparse though,

    And what do you think that proves?

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

      The same thing that you do: there's a subtlety of implementation that Deparse doesn't catch.

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-06-19 14:25 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.