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


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

#!/usr/bin/perl -w print "My name is $0...\n"; <STDIN>;
...

Replies are listed 'Best First'.
Re^4: Different meanings of $0 under the same operating system
by Jorge_de_Burgos (Beadle) on Nov 03, 2009 at 20:04 UTC
    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.
      On Windows, running that will show a command prompt and wait for me to hit enter. I can't imagine a linux box not doing that...
        It won't.