Hi: I'm not sure if the phenomenon occurs in Linux, but occurred in the HP-UX machine that I'm using.
The following code below doesn't work: `/usr/bin/clear`; if ($? != 0) { die "$!"; } print "exit\n"; Note: a) The screen doesn't clear but "die" is not executed (i.e. "exit" in printed on screen) ) system("clear"); # This one works. I'm just curious why `/usr/bin/clear` or `clear` doesn't work, yet system("clear") works given the fact that using backticks for other shell command works. I know this code is not portable, but portability is not an issue here =) Just curious. Thanks. Regards, Ludwig _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List http://lists.linux.org.ph/mailman/listinfo/plug Searchable Archives: http://archives.free.net.ph