Help for this page

Select Code to Download


  1. or download this
    if(/<title>(.+)<\/title>/i){
      print $1;
      $notitle = 0;
      last;
    }
    
  2. or download this
    foreach my $file(@files){
      open(TMP, '>/tmp/temp.html') || die "tmp file open failed:$!\n";
    ...
      unlink($file);
      rename('/tmp/temp.html', $file);
    }