Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Passing argument into STDIN inside reval

by gideondsouza (Pilgrim)
on Feb 11, 2013 at 18:33 UTC ( #1018212=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    use Safe;
            print "Unsafe code detected: $@";
  2. or download this
        open(FILE,"perl '$code' 2>&1 |")
        my @output=<FILE>;
        my $resp = join('',@output);

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1018212]
Front-paged by Lotus1
[huck]: "and all is quiet..." "Others having an uproarious good time at the Monastery" ... something seems not quite right ...
[huck]: just the first time i noticed the "uproarious" message ... i must be bored

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2017-02-24 03:07 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (351 votes). Check out past polls.