The problem is you're passing a justify option to something that doesn't take a justify option, as the error message tells you.
$ perldoc Tk::Menu |grep -i justify
In reply to Re: Perl tk [ Tk::Text -justify option is not working
by Anonymous Monk
in thread Perl tk [ Tk::Text -justify option is not working
by Anonymous Monk
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |