To try a more modern way, have a look at Dancer:
perl -MDancer -e 'get "/" => sub { "Hello world" }; dance' >> Dancer 1.3202 server 15071 listening on http://0.0.0.0:3000 == Entering the development dance floor ...
Then just point the browser to the indicated address.
($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
In reply to Re: Execute a Perl script in a browser
by choroba
in thread Execute a Perl script in a browser
by federico-perlmonks
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |