Try typing this at the command line:

$ perldoc -f system 

;-)

-_-Aaron

-----Original Message-----
From: Hewlett Pickens [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 11:26 AM
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]


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to