Help for this page
sub capture{ my $FILE = $_[0]; ... warn "AFTER=$FILE"; print $fileContent; # it stops here }