in reply to Re^2: Help using self-made but very simple Module
in thread Help using self-made but very simple Module

Yes, you would get that message if you forgot use:
use strict; use warnings; script_stats(); __END__ Undefined subroutine &main::script_stats called at TLEQUERY.pl at line + 3.