Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Executing code in a string

by gav^ (Curate)
on Jul 09, 2002 at 19:06 UTC ( #180578=note: print w/replies, xml ) Need Help??

in reply to Executing code in a string

If you search for eval you'll find that eval $foo;


Update: first time round it came out slightly more scathing than I intended. Apologies all round.

Replies are listed 'Best First'.
Re: Re: Executing code in a string
by samtregar (Abbot) on Jul 09, 2002 at 19:45 UTC
    If you don't have anything nice to say...


        I'm just getting tired of mean-spirited replies to beginner questions. Sure, the guy could have found the solution to his problem by reading about eval, but he didn't. Instead he came and posted a question in a place that purports to be a good place to ask questions about Perl. It's not like he posted it to perl5-porters, after all.

        If you're going to answer a beginner's question I think you should do it with some respect. If you're not in the mood to politely point someone in the direction of the manual then just don't answer.

        Unless you were just joking... Um, in which case, hahahhaa.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://180578]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2016-10-28 16:00 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (386 votes). Check out past polls.