class Test def main is shared print 'Hello' parts = 'a.b'.split(@[c' ', c'.']) assert parts.length==2 assert parts[0]=='a' assert parts[1]=='b'