in reply to Win32::Gui Textarea question

I don't have a windows machine to test on, but have you tried using \r\n instead of just \n? I don't know what \x012 is, but methinks you should probably replace
$Text .= "$_\x012";
with
$Text .= "$_\r\n";
or
$Text .= "$_\n";
and see what the results are.

Replies are listed 'Best First'.
Re: Re: Win32::Gui Textarea question
by hv (Prior) on May 14, 2003 at 02:36 UTC

    "\x012" is two characters, the (hex) escape "\x01" (which has the same value as chr(0x01)) and the plain character "2".

    In this context, I suspect it is a typo for "\012", which would be an octal escape, the same as chr(012), the ASCII LF character.

    Hugo