Article 10614 of comp.lang.perl:
Path: feenix.metronet.com!news.ecn.bgu.edu!usenet.ins.cwru.edu!howland.reston.ans.net!vixen.cso.uiuc.edu!uwm.edu!daffy!uwvax!sinetnews!news.u-tokyo.ac.jp!wnoc-tyo-news!scslwide!wsgw!headgw!cvgw3!tshiono
From: [email protected] (Toru SHIONO)
Newsgroups: comp.lang.perl
Subject: Re: addch (curses)
Message-ID: <[email protected]>
Date: 14 Feb 94 09:17:30 GMT
References: <[email protected]>
Sender: [email protected] (Usenet News System)
Organization: Sony Corporation, Tokyo, Japan
Lines: 23
Nntp-Posting-Host: aquarius
X-Newsreader: prn Ver 1.10
In-reply-to: [email protected]'s message of 12 Feb 94 06:31:23 GMT

In article <[email protected]>
       [email protected] (Alex Tang) writes:

:#!/usr/local/bin/curseperl
:&initscr();
:&move(0,0);
:&addstr ("Hello");
:&addch (' ');
:&addstr ("there");
:
:and all i get is:
:Hellothere
:
:did i do something wrong???

The argument of addch is a char, which is a numeric value rather than
a string in Perl's expression.  So try:

&addch(ord ' ');

If you don't like it, use &addstr(" ") instead.
--
Toru "devil-may-care" Shiono          Sony Corporation, JAPAN