B::bar; #package method (subroutine, in this case) B->bar; #object method (subroutine, in this case)