Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: if $a = 'some' . $b, and $b then changes, how to make $a change too? See inside.

by jwkrahn (Monsignor)
on Jul 04, 2013 at 18:02 UTC ( #1042501=note: print w/ replies, xml ) Need Help??


in reply to if $a = 'some' . $b, and $b then changes, how to make $a change too? See inside.

$ perl -e' my $g = "g300"; my $r = \substr $g, 1; print "$g\n"; $$r = 500; print "$g\n"; ' g300 g500


Comment on Re: if $a = 'some' . $b, and $b then changes, how to make $a change too? See inside.
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (15)
As of 2014-07-14 11:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (257 votes), past polls