一檔案,類似以下格式
<a target="_blank" href="http://blog.51cto.com/attachment/201101/132110370.png"></a>
要求,利用你熟悉的語言取出其中對應的IP與其對應的掩碼
perl code:
<a target="_blank" href="http://blog.51cto.com/attachment/201101/132218327.png"></a>
這個用了引用與解引用
運作結果
<a target="_blank" href="http://blog.51cto.com/attachment/201101/132332240.png"></a>
本文轉自dongfang_09859 51CTO部落格,原文連結:http://blog.51cto.com/hellosa/486614,如需轉載請自行聯系原作者