print() on closed filehandle main::STDOUT at FSLAMTest.pm line 312.