Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by hdb (Monsignor)
on Jul 04, 2013 at 09:50 UTC ( [id://1042413]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    print $g->()."\n"; #would be 'g300', that's ok
    $r = 500;
    print $g->()."\n"; #would be 'g500'
    
  2. or download this
    use strict;
    use warnings;
    ...
    print $g->()."\n";  # '0: g300'
    $r = 500; $i = 10;
    print $g->()."\n";  # '10: g500'
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-03-19 04:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found