Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset
Comments Off

Comment Obtenir le titre d’un siteweb

Your ads will be inserted here by

Easy AdSense.

Please go to the plugin admin page to paste your ad code.

 url, url

  use LWP;
  die "Veillez définir l'URL" unless @ARGV;
  foreach $url (@ARGV) {
      $ua = LWP::UserAgent->new( );
      $res = $ua->get($url);
      print "$url: " if @ARGV > 1;
      if ($res->is_success) {
          print $res->title, "n";
      } else {
          print $res->status_line,