I think that /204\.123\.2\.12[01234]/ only does a match between this
regular expression and the contents of $_ .
I don't know about expanding regular expressions in perl (though it
makes sense) but you can always use lists.
@host = (0,1,2,3,4);
$network = "204.123.2.12";
for $x (@host){
print $network . $x;
}
On 3/10/06, Zaid Amireh <[EMAIL PROTECTED]> wrote:
> Ala'a, did you even understand my question or am I missing something
> very trivial here? if so then please teach me.
>
>
> On 3/10/06, Ala'a Ibrahim <[EMAIL PROTECTED]> wrote:
> >
> > /204\.123\.2\.12[01234]/
> >
> >
> > On 3/9/06, Zaid Amireh <[EMAIL PROTECTED]> wrote:
> > >
>>..........................
_______________________________________________
General mailing list
[email protected]
http://mail.jolug.org/mailman/listinfo/general_jolug.org