Write-protect Perl variables, manipulate refcounts
