http://www.perlmonks.org?node_id=193256


in reply to Re: Re: Parse::JavaScript
in thread JavaScript::Parse::PurePerl (was Parse::JavaScript)

Very interesting code and discussion - but my internal parser parses

bar++ foo;
as
bar+ +foo;

which would be instantly valid. But on the other side, I don't know much about JavaScript (and C-style) operator syntax, and maybe two pluses automatically mean postincrement / preincrement operator ...

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