my $name = 'Myles na Gopaleen'; print (split ' ', $name)[-1];