#!/usr/bin/perl use strict; use warnings; sub hallo { print "Hallo, Welt!\n"; } my $blub = *hallo{CODE}; $blub->();