Because you combine block and string. What you have is equivalent to:
All you're executing is a string in void context. You don't want a block here - the code you have is in a string, so you want to do string eval. Hence, you ought to be doingeval {"Hello!"}
eval $config->{client}->{1}->{file}->{1}->{executeInternal};
In reply to Re: eval sub
by JavaFan
in thread eval sub
by samip
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |