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


in reply to Simple WebServer Scanner

Writing perl code is always nice, but in this case it seems overkill:
% perl -MCPAN -e 'install LWP' % HEAD http://www.example.com/ | grep ^Server

Replies are listed 'Best First'.
Re: Re: Simple WebServer Scanner
by Asmo (Monk) on Sep 22, 2001 at 01:52 UTC
    perl -MCPAN -e 'install LWP' Can't locate object method "install" via package "LWP" at -e line 1.
      To work around this problem use: perl -MCPAN -e shell then at the prompt enter: install LWP Linuxboy