in reply to Re^7: Memory leak detectionin thread Memory leak detection
my $var; sub func { $var } [download]
See Closure on Closures.