> First, the first argument to split is *always* a regex. A lot of people 
> are in the habit of passing a quoted string, but according to the 
> perl5-porters (in a thread about a year or so ago) the first argument 
> should always be a regex. So, use the // or m// syntax.
> 
> Doing that should make it obvious what the problem is:
> 
> my @IPs = split(/./, $ARGV[4]);
>                   ^
> dot is a meta character in a regex, so it needs to be quoted:

You learn something new everyday.  Thank you - works perfectly... :)

--
me



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to