Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 about the Monastery: (6)
As of 2014-09-20 01:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (151 votes), past polls