Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Perl, I'm coming home...

by HugoNo1 (Novice)
on Sep 21, 2018 at 13:12 UTC ( #1222799=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $sstr = "my string";
    my $rsstr = \$sstr;
    ...
    $$rsstr .= " + add to ref";
    
    print "rs 2 str '$sstr'; ref: '" . $rsstr . "'; addr: '" . \$sstr . "'
    +\n";
    
  2. or download this
    org str 'my string'; addr: 'SCALAR(0x22e8af8)'
    rs 1 str 'my string + my string add'; addr: 'SCALAR(0x22e8af8)'
    rs 2 str 'my string + my string add + add to ref'; ref: 'SCALAR(0x22e8
    +af8)'; addr: 'SCALAR(0x22e8af8)'
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2020-04-03 06:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The most amusing oxymoron is:
















    Results (26 votes). Check out past polls.

    Notices?