Re: C's gotoxy() equivalent in Perl



On Jan 30, 3:24 pm, "John W. Krahn" <some...@xxxxxxxxxxx> wrote:
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.
Regards,
-YK
.



Relevant Pages

  • Re: Cs gotoxy() equivalent in Perl
    ... gotoxy() is not a C language function, ... Perl isn't a toolbox, but a small machine shop where you ... Curses as its not available in perl version I am using. ...
    (comp.lang.perl.misc)
  • Re: Python or PHP?
    ... > every language here and there more ways to do something. ... The best the programmer can do, as you imply, is to ... parse out into proper perl expressions. ... > lists, dictionaries, etc. etc. ...
    (comp.lang.python)
  • Re: Native language versions
    ... It is a different language which can be translated ... into perl and can use Perl modules. ... away quite a bit from the OP's notion of just translating perl keywords ... There's probably not much use for a user-accessible programming language ...
    (comp.lang.perl.misc)
  • Re: Wondering if you guys would like to comment on this
    ... >>ever tried using someone's highly customized EMACS setup? ... I've had the same experience with perl that he ... problem with any programming language, perl tends to make it worse ... I have the same rules on LISP programming that I do with perl ...
    (comp.lang.lisp)
  • Re: Why I never got into Lisp
    ... solutions in languages like Perl. ... and what you tried in Lisp, and how Lisp mapped better, for you. ... While this can be done to some extent in any language, ... liked the fact that Ruby, like lisp, seems to have sensible defaults ...
    (comp.lang.lisp)