【发布时间】:2016-05-05 22:05:30
【问题描述】:
我正在尝试删除列出的 IP 地址的 apache 状态页面,例如 apache status page。
<tr><td><b>0-35</b></td><td>1791</td><td>1/1079/387615</td><td>G
</td><td>5541.08</td><td>379</td><td>557</td><td>135.0</td><td>33.04</td><td>20992.04
</td><td>83.60.245.1</td><td nowrap></td><td nowrap></td></tr>
我已经下载了页面
#!/usr/bin/perl
use strict;
use warnings;
use LWP::Simple;
use feature 'say';
use File::Slurp;
my $content = get('http://www.apache.org/server-status') or die 'Unable to get page';
write_file('filename',$content);
如何创建一组找到的 IP 地址?
谢谢
【问题讨论】: