#!/usr/bin/perl -w use strict; { my $v = 1; sub mk_view_v { $v; ## <<< this is an error sub { $v }; #<<(), ")\n"; # very strange print statement