Re: Eval not working on code

2007-03-22 Thread Tom Phoenix
On 3/22/07, Kevin Old <[EMAIL PROTECTED]> wrote: Not sure why eval isn't working. Nothing is returned if I print $@ after the eval statement. What do you mean whan you say eval "isn't working"? What is it doing? Does it run any of the code? The code you included doesn't print or check $@ afte

Eval not working on code

2007-03-22 Thread Kevin Old
Hello everyone, I am using Class::InsideOut and am looping through some params passed and need to set their accessors (identified by the keys passed into my class), but the following code isn't working. Not sure why eval isn't working. Nothing is returned if I print $@ after the eval statement.

Re: Eval not working!!

2002-01-14 Thread Tanton Gibbs
You have a capital S in your string, but your sub starts with a lower case s...unless one was a typo - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 14, 2002 2:47 PM Subject: Eval not working!! > > This is a question using

Eval not working!!

2002-01-14 Thread Murzc
This is a question using eval. Below is some test code using eval. It worked. A function call was loaded to a variable ($func_name) and eval calls the function and passes the variables. $func_name = "&make_shift";## load the function call and its name push(@data, eval"$func_name(4,5,6)");