in reply to Question about eval

Lots of people have told you lots of useful things. But they're all details. I recommend that you go and buy a copy of "Learning Perl" (aka the Llama book). Once you've understood it, go and buy a copy of "Programming Perl" (the camel book). All will become clear.