There was few errors for using 'strict', after removing all 'use strict' notes, there was new error:
Software error:
Base class package "Class::Accessor::Fast" is empty.
(Perhaps you need to 'use' the module which defines that package first.)
at test.pl line 103
BEGIN failed--compilation aborted at test.pl line 103.