|
Posted by Gerry Ford on January 30, 2008, 8:42 am
Please log in for more thread options
>> Yogi wrote:
>> > Hi,
>> > I am trying to print something on my screen at specific location. Do
>> > we have anything equivalent to gotoxy() , as we have in C language, in
>> > Perl? I tried using Term::Cap but not getting any success.
>> > Getting an error message : "TERM not set at...".
>>
>> > I am trying to run my perl script on Windows envt.
>> > Perl version = v5.8.8 built for MSWin32-x86-multi-thread
>>
>> gotoxy() is not a C language function, it is a Curses function:
>>
>> http://search.cpan.org/~giraffed/Curses-1.20/gen/make.Curses.pm
>>
>> John
>> --
>> Perl isn't a toolbox, but a small machine shop where you
>> can special-order certain sorts of tools at low cost and
>> in short order. -- Larry Wall
>
> Thanks John for providing me link. I believe, I will have to install
> Curses as its not available in perl version I am using.
Maybe one way to get what you want is to install Ruby and borrow the curses.
I frankly don't know a curse from a gem or a rake, but since Ruby was
created using MVC++6, it might be better for windows stuff than the
equivalent from perl.
PDCurses 2.60-1
--
Gerry Ford
|