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

tieing STDIN & STDOUT using IO::Scalar for use inside an eval

by water (Deacon)
on Sep 11, 2004 at 21:16 UTC ( [id://390317]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # untested
    my $code = 'while (<>) { print; }'; # would typically be more interest
    +ing
    ...
          eval "$code";
        }
    # interesting stuff should be in output here
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://390317]
Approved by Corion
Front-paged by bart
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-25 06:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found