>  This one works. You need quotes around 0xa9.
>
> my $text;
> $text = chr(hex('0xa9'));
> print "CR $text\n";
> Hth,
>
> with warm regards,
> Venkat Saranathan
> Gulf Breeze Software.
>
>   On Tue, Jul 15, 2008 at 1:13 PM, ChrisC <[EMAIL PROTECTED]> wrote:
>
>> I need to print the COPYRIGHT symbol.  How to go about it?  Tried
>> playing with the following:
>>
>> my $text;
>> $text = chr(hex(0xa9));
>> print "CR *$text*\n";
>>
>> But the script just dies.
>>
>> Thanks,
>>
>> Jerry
>>
>>
>> --
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> http://learn.perl.org/
>>
>>
>>
>

Reply via email to