Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^10: Shouldn't references be readonly? (UPDATED)

by LanX (Saint)
on Aug 05, 2020 at 19:31 UTC ( [id://11120350]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      DB<76> sub change { $_[0] = 666 }
    
    ...
    Modification of a read-only value attempted at (eval 86)[c:/Perl_524/l
    +ib/perl5db.pl:737] line 2.
    
      DB<81>
    
  2. or download this
      DB<81> sub change_arr { $_[0] = [666] }
    
    ...
    
      DB<86>
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-16 14:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found