What happens when you get something like
ww10.software.mirror.qrp.org.de
??
>
> try this :
> (my $DOM_NAME, my $TLD) = split(/\./, $domain, 2);
> #split on '.', onlu into 2 pieces
>
> (yes this is me answering my own question. . . . .)
>
> -----Original Message-----
> From: Scott Lutz [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 16, 2002 3:58 Night
> To: Beginners (E-mail)
> Subject: Greedy 'split' ???
>
>
>
> $DOM_NAME, my $TLD) = split(/\./, $domain);
> creates two variable out of an inputted domain name,
>
> until this comes along:
> domainname.org.uk
>
> which it interprets as :
> $DOM_NAME = domainname
> $TLD = org
>
> so is it possible to do a 'greedy split' ??
>
>
> Scott Lutz
> Pacific Online Support
> Phone: 604.638.6010
> Fax: 604.638.6020
> Toll Free: 1.877.503.9870
> http://www.paconline.net
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]