bless \$string; #### $ perl -wE 'my $s = "foo"; bless \$s; say ref \$s' main