Python and Perl 6 Similarities between Python and Perl 6 #22

Method calls

Method calls use a dot:

# Python:
obj.method(1, 2, 3)
 
 
# Perl 6:
$obj.method(1, 2, 3)
 
 
# Perl 5:
$obj->method(1, 2, 3)
Copyright © 2010
http://www.pmichaud.com/2010/pres/