On Fri, Nov 14, 2008 at 6:25 PM, Ludwig Isaac Lim <[EMAIL PROTECTED]>wrote:
>
>
> The following code below doesn't work:
> `/usr/bin/clear`;
>
Orly is right. The output of clear(1), which is just escape sequence/s,
will not reach the terminal because Perl will capture it. Stick with
system() or just use print().
On my Mac and Linux, clear(1) is just the equivalent of
perl -e 'print "\33[H\33[2J"'
Remove "\33[H" if you don't want the cursor move to line 1 (*home*).
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph