adam.lapins has asked for the wisdom of the Perl Monks concerning the following question:
the code that I am using isset something 111.111.111.111 255.255.255.0
The output that I am getting would be likeif (/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/){ s/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/xxx.xxx.xxx.xxx/; print VPNOUTFILE "$_"; }
The output that I am looking for isset something xxx.xxx.xxx.xxx 255.255.255.0
Appreciate the help!set something xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Masking IPs
by gellyfish (Monsignor) on Jun 28, 2005 at 22:07 UTC | |
|
Re: Masking IPs
by ikegami (Patriarch) on Jun 28, 2005 at 22:08 UTC | |
by kaif (Friar) on Jun 29, 2005 at 00:09 UTC | |
|
Re: Masking IPs
by GrandFather (Saint) on Jun 28, 2005 at 22:54 UTC | |
|
Re: Masking IPs
by fmerges (Chaplain) on Jun 28, 2005 at 22:15 UTC |