Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Your skill will accomplish
what the force of many cannot
 
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 studying the Monastery: (9)
As of 2014-04-21 13:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (495 votes), past polls