Mojolicious templates can be dangerous to import functions
You may want to avoid importing functions in Mojolicious templates. For example, the following description.
%use File::Basename'dirname';
For Mojolicious templates, all templates are compiled into a class called Mojo::Template::Samdbox. Therefore, the description of importing a function in one template may be overwritten with the description of importing a function in another template.