Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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;
works...

gav^

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


Comment on Re: Executing code in a string
Download Code
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...

    -sam

        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.

        -sam

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (14)
As of 2015-07-31 09:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (276 votes), past polls