I just tested. it is not working. gives error "Undefined subroutine &main::InitializeLog called at .....".
I also tried a module named ToolSet for the same. but when i run it gives me error.
"Base class package "ToolSet" is empty.
(Perhaps you need to 'use' the module which defines that package first.)".