Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: How to get a reference from an eval() string?

by choroba (Archbishop)
on Sep 06, 2016 at 09:36 UTC ( #1171238=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    eval "$base\{$lastPart} = \$newData"
    
  2. or download this
    my $ref = eval "\\$base\{$lastPart}" || eval "$base = {}";
    $$ref = $newData;
    
  3. or download this
    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord
    }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2020-03-29 22:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    To "Disagree to disagree" means to:









    Results (171 votes). Check out past polls.

    Notices?