use 5.010; use strict qw( vars subs ); use warnings; # Package name contains whitespace; sub name begins with leading colon. *{"123 :::x"} = sub { say "hello" }; # Yet it can be called. &{"123 :::x"};