in reply to reference packing?

Yes you can. Have you tried it??

my $ref = \1; my @array = unpack("c*",$ref); print join ':', map {chr} @array; print "\n$ref\n";
I'm not sure what you want to do with that but this works. Perl just takes the string representation of the reference.

Update: ;-))

-- Hofmator