#!/usr/bin/perl use strict; use warnings; my $anon = sub { return "foo " . "bar" }; my $retVal = &$anon; print $retVal ;