Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Executing code in a string

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


in reply to [untitled node, ID 180576]

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.

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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://180578]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-19 03:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found