Public feed #962534

Someone

public text v1 · immutable
Raw Edit
·published 2008-03-29 20:36 UTC
rendered paste body
#!/usr/bin/perl

use WWW::Mechanize;

$url = "http://stats.necron.org/index.html";

my $mechanize = WWW::Mechanize->new(autocheck =>1);

$mechanize->get($url);

my $page = $mechanize->content;

$page =~ s/<(?:[^>'"]*|(['"]).*?\1)*>//gs;

open(FH, ">hi.txt");

print FH $page;

close(FH);

# i just want the lines 80-180 to go into hi.txt