Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Problem with a replacement

by samarzone (Pilgrim)
on Mar 14, 2011 at 09:57 UTC ( #893059=note: print w/ replies, xml ) Need Help??


in reply to Problem with a replacement

When you write

$init_name = "init_$ncat"

$init_name is assigned a value. Now no matter how many times you change the value of $ncat you don't change the value of $init_name

Try printing value of $init_name instead of $ncat

--
Regards
- Samar


Comment on Re: Problem with a replacement
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2015-07-02 05:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (28 votes), past polls