Re: [Simple-evcorr-users] $ signs in values

2010-07-30 Thread Risto Vaarandi
hi Ali, it is tricky to solve this issue (and similar problems) with eval, since the eval miniprogram will always be compiled after variable substitution. If you want to have a more bulletproof solution, the simplest way is to use an anonymous function instead of a miniprogram -- compile the

[Simple-evcorr-users] $ signs in values

2010-07-28 Thread Ali Khalfan
Hello, I saw in the sec man page that we could create and set variables concatenated with values e.g. eval %p ( $count_users_$2='1';) . My problem is what if the value of $2 has a $ sign in it e.g. doe$. The value will be $count_users_doe$, which is unacceptable under perl laws. Is there any