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


in reply to One-Line Web Counter

Golfing!! I'm pretty sure this would also work:

perl -MCGI -e 'print CGI->new->header;open(F,"c");($c)=<F>;print ++$c; +close F;open(N,">c");print N $c;'

Zenon Zabinski | zdog | zdog7@hotmail.com