I'd recommend the following for hungarian (not necessarily Hungarian!) programmers: # $sStr is a string $sStr = "This is a string"; # Note use of double quotes... # $szStr is a zero-terminated string $szStr = $sStr . "\0"; # $pszStr is a pointer to a zero-terminated string $pszStr = \$szStr; HTH, -- Ariel Scolnicov |"GCAAGAATTGAACTGTAG" |ariels@compugen.co.il Compugen Ltd. |Tel: +972-2-6795059 (Jerusalem) \ NEW IMPROVED URL! 72 Pinhas Rosen St. |Tel: +972-3-7658520 (Main office)`-------------------- Tel-Aviv 69512, ISRAEL |Fax: +972-3-7658555 http://3w.compugen.co.il/~ariels ==== Want to unsubscribe from Fun With Perl? ==== Well, if you insist... Send mail with body "unsubscribe" to ==== fwp-request@technofile.org