I figure it out now. Really learn a lot by reading the codes. Thanks.
Hi Dancers,I am reading the dancer2 code and can not figure out what the CODE means here.Could anyone give me some direction? Thanks.Dancer2/Core/Role/DSL.pm44 sub export_symbols_to {45 my ($self, $caller, $args) = @_;46 my $exports = $self->_construct_export_map($args);4748 foreach my $export (keys %{$exports}) {49 no strict 'refs';50 my $existing = *{"${caller}::${export}"}{CODE};5152 next if defined $existing;5354 *{"${caller}::${export}"} = $exports->{$export};55 }5657 return keys %{$exports};58 }