#!/bin/env perl use strict; use warnings; my $coderef = \&f; print &$coderef, $/; sub f { return 1; }