http://www.perlmonks.org?node_id=804767


in reply to Re^3: Different meanings of $0 under the same operating system
in thread Different meanings of $0 under the same operating system

That won't work either. Can't you good die-hard command-line folks think of lack of feedback in a gui? That's what UI::Dialog is meant for... Just using print won't put anything on the gui if you run the program without a terminal as I wrote.