Pardon?
perl> print $record 100.100.100.100 1COMPUTER1 09/13/30828 22:48:05 perl> print +($record =~ m[(\d+)]g)[0..3] 100 100 100 100 perl>
The original code place the numeric value of the four octets into the array @iparray -- so does this.
In reply to Re: Re: Re: Simplify This
by BrowserUk
in thread Simplify This
by ChrisR
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |