Greg,

I already tried that, it doesn't work. :( 

When it gets to the ()[] it stops at once, with the error NO MATCH
I need to remove the ()[] before it gets read, or ARGV needs somekind of
option so it will ignore them.

Thanks

jose vazquez
[EMAIL PROTECTED] 

On Thu, 3 May 2001, Greg Meckes wrote:

> Couldn't you just do something simple like:
> 
> #at your "for" loop
> 
> for ($t=0;$t<$z;$t++) {
> 
> #Insert this
> $zin[$t] =~ s/\[//g; #Remove left bracket
> $zin[$t] =~ s/\]//g; #Remove right bracket
> #End insert
> #And continue with the rest...
> 
> if ($zin[$t] eq "212.104.202.50") { #etc
> 
> ###############
> 
> It'll remove the brackets if they exist from each array element, then you'll have 
>only the IP left
> and the "if" should snag it.
> 
> 
> Greg
> 
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
> 

Reply via email to