|
#1
| ||||
| ||||
| Dumb perl question I have been writing perl scripts to do little things to manage some of my files and I was wondering how I might do something that is somewhat anal retentive - okay, really anal retentive. I really tried to find answers on various perl sites, but macosx.com is so much easier and responsive! All I want to do is to know how I can have the terminal output of the script clear so that instead of having continuosly scrolling text each time I enter something, the terminal window will clear and show the new text at the top of the window - basically reproduce the "clear" command, but running from a perl script. While I'm here, how about opening and/or closing a new terminal window? |
|
#2
| |||
| |||
| Simple way: system( "clear" );. Otherwise, go to www.cpan.org and see if any of the Term modules have something like this; I'm guessing that'd be where this capability would lie. |
|
#3
| ||||
| ||||
| Yes! That's it. Why was this so hard to find? Oh well, thank you very much. |
![]() |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| probably a dumb question, but well, i thought i'd ask it anyways. | GhettoMacBoy | Mac OS X System & Mac Software | 3 | March 15th, 2003 12:10 AM |
| perl question | holmBrew | Software Programming & Web Scripting | 1 | October 9th, 2002 11:18 AM |
| Perl question - need LWP.pm | ksignorini | Unix & X11 | 3 | September 18th, 2002 06:18 PM |
| Understanding my path and running my dumb perl programs | karavite | Mac OS X System & Mac Software | 6 | November 22nd, 2001 03:18 PM |
| Dumb question... | solo | Hardware & Peripherals | 6 | September 26th, 2001 06:53 PM |