is a weird way of writingprint +(split /\./, 'www.google.com', 2)[0];
print( (split /\./, 'www.google.com', 2)[0] );
In reply to Re^3: Split returning one element
by ikegami
in thread Split returning one element
by MonkDrew
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |