in reply to
Split returning one element
print STDOUT (split /\./, 'www.google.com')[0];
[download]
Comment on
Re: Split returning one element
Download
Code
In Section
Seekers of Perl Wisdom