Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Running local Perl from HTML

by roboticus (Chancellor)
on Mar 11, 2019 at 14:40 UTC ( [id://1231123]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!env perl
    {
    ...
    my $pid = PythonServer->new(8088)->run;
    print "PID = $pid, press ^C to stop\n";
    my $t = <>;
    
  2. or download this
    <html>
      <head>
    ...
        </form>
      </body>
    </html>
    
  3. or download this
    $ perl pm_1231092.pl
    PythonServer: You can connect to your server at http://localhost:8088/
    Fetched page!
    Got data: { NumCocoanuts => [1], SwallowType => ["European"] }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-04-25 11:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found