やっぱClassなど使わん方がすっきり書けるな

use v5.38;

package Hello {
 sub new ($class, $x) { bless \$x, $class }
 sub hello_twice ($self) { say "Hello! $$self" }
}

Hello->new(123)->hello_twice;
Hello->new('abc')->hello_twice;