in reply to Tkx: Tkx editor doesn't display menus on OS X
It does display the menu for me. Of course you first have to activate the window to get to see the menu; if you just type perl myscript.pl into Terminal, then the focus will stay with your Terminal window.