p4raw-id: //depot/perl@32497
my $sym = findsym($pkg, $ref);
$sym ||= $type eq 'CODE' ? 'ANON' : 'LEXICAL';
no warnings;
- if (!$raw) {
+ if ($raw) {
+ $data = [$data];
+ }
+ else {
$data = !$raw && eval("package $pkg; no warnings; no strict;
local \$SIG{__WARN__}=sub{die}; [$data]");
if (my $error = $@) {