Help for this page
print +(split /\./, 'www.google.com', 2)[0];
print( (split /\./, 'www.google.com', 2)[0] );