print +(split /\./, 'www.google.com', 2)[0]; [download]
In reply to Re: Split returning one element by moritz in thread Split returning one element by MonkDrew