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