our $Customer = My::Company::Namespace::Customer::; # <--- trailing colons! #### # Hi, this is written by me, the maintainer. do_something_with_class(Customer => \&callback); # Oops, I missed that Customer really was a # subroutine mimicing a bareword. *That* took a # while to figure out, huh!