- or download this
sub foo { "foo" }
$fooref = \*foo;
&$fooref();
- or download this
Not a CODE reference at testing.pl line 3.
- or download this
$bar = 1;
$barref = \*bar;
*$barref = sub { "bar" };
&$barref();
- or download this
Not a CODE reference at testing.pl line 4.