Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 pondering the Monastery: (6)
As of 2014-09-23 07:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (210 votes), past polls