in reply to Converting Python to Perl and back again
Converting between Python and Perl is not easily done by simple subsitutions, as there are some strong differences between how Python variables and Perl variables work :
perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ; # The $d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider ($c = $d->accept())->get_request(); $c->send_response( new #in the HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' # web
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Converting Python to Perl and back again
by Abigail-II (Bishop) on Apr 04, 2003 at 08:47 UTC | |
by Corion (Patriarch) on Apr 04, 2003 at 08:52 UTC | |
|
Re: Re: Converting Python to Perl and back again
by Anonymous Monk on Apr 04, 2003 at 06:51 UTC | |
by Corion (Patriarch) on Apr 04, 2003 at 08:26 UTC | |
by theorbtwo (Prior) on Apr 04, 2003 at 18:32 UTC | |
|
Re: Re: Converting Python to Perl and back again
by bradb (Sexton) on Apr 05, 2003 at 01:35 UTC |