Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: sending a scalar to the interpreter as a command

by davido (Archbishop)
on Oct 08, 2012 at 21:08 UTC ( #997877=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $code = 'print qq{Hello world!\n};';
    eval $code;
    
  2. or download this
    my $code = '1+1';
    my $result = eval $code;
    print $result, "\n";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2014-07-26 18:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (178 votes), past polls