use system("clear") system displays output to the terminal where ` (backtick) returns the output to the perl script not the terminal.
-----Original Message----- From: Hewlett Pickens [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 2:26 PM To: zPerl Beginners Subject: How to issue CLEAR command from Perl Invoking a Perl script from a TN3270 terminal (Linux/390) Want to issue the shell "clear" command to clear the screen. Using Bash shell 1.14.7(1) "clear" works ok from the command line. Does not clear the screen when issued from the script. Displays 1 instead Have tried these "syntaxes" (if that's a word) my $x = `clear`; my $x = qx(clear); `clear`; Thanks, Hewlett Pickens -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ---------------------------------------------------------------------------- -------------------- The views and opinions expressed in this email message are the sender's own, and do not necessarily represent the views and opinions of Summit Systems Inc. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]