On Mon, 4 Feb 2002, Brice, Charles wrote:

> I am new to Perl.  Is there a way to
> print to the screen by using x and y
> coordinates?  For example if you print
> a box composed of asterisks such as
> the following:
>
>    columns ->
>              1         2         3
> r  0123456789012345678901234567890
> o  1
> w  2    ****************
> s  3    *              *
>    4    *              *
> |  5    *              *
> v  6    *              *
>    7    ****************
>    8
>    9
>   10
>
> is it then possible to reposition the
> cursor and print a value at row 4 column 10?

You'll want to use the Curses module.  It provides such capabilities as an
addressable cursor, windowing, etc.

-- Brett

                                          http://www.chapelperilous.net/
------------------------------------------------------------------------
BOFH excuse #404:

Sysadmin accidentally destroyed pager with a large hammer.


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

Reply via email to