[Athens-pm] use charnames

Philip Lees pjlees at ics.forth.gr
Thu Mar 27 01:47:50 CST 2003


Hi Antonis and all.

When I ran your script in a Win2K command window I got slightly
different output, but no sigmas. A look at the documentation for
charnames.pm suggests that what's being printed is the unicode form of
the characters, i.e. two bytes, not one. You need to direct the output
to a display that understands unicode, I think.

How about this one:

#!perl

$==$ARGV[0] or die "Usage is $0 integer\n";
{$_=($=&1).$_;redo if$==$=>>1}print

Philip
--
Philip Lees
Working Group on Cardiology
ICS-FORTH, Science and Technology Park of Crete
Vassilika Vouton, P.O. Box 1385, GR 711 10 Heraklion, Crete, GREECE

tel.: +30-2810-391680, fax: +30-2810-391601, e-mail: pjlees at ics.forth.gr

'The aim of high technology should be to simplify, not complicate' -
Hans Christian von Baeyer 




More information about the Athens-pm mailing list