Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Is it possible to write to STDIN ?

by zentara (Archbishop)
on Jul 21, 2014 at 10:33 UTC ( [id://1094451]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -wT
    use strict;
    ...
    read (STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
    print "Content-type: text/plain\n\n";
    print $buffer;
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    # now we can send a GET rquest somewhere
    $CGI->redirect('http://my.server.com/script.pl?' . $query);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-24 08:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found