daveola has asked for the wisdom of the Perl Monks concerning the following question:

Is there a syntax to simply turn the value of something returned from a function into a reference? For example, I want to return an array reference for an array built by map. Right now I am doing:
my @tmp = map { ... } @somearray; return \@tmp;
I'd prefer something like:
return ref_of map { ... } @somearray;
I know I could do it by writing another routine or using a library, but I was wondering if there was anything in plain old perl that can accomplish this?