Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2024-04-16 12:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found