sprintf or pack
- From: "sonet" <sonet.all@xxxxxxxxxxxxx>
- Date: Tue, 30 Jan 2007 20:33:29 +0800
How to use pack or sprintf do the same thing?
$b='A';
$a=ord($b);
print int($a/16) . ($a % 16) ;
.
- Follow-Ups:
- Re: sprintf or pack
- From: Paul Lalli
- Re: sprintf or pack
- Prev by Date: system() commands
- Next by Date: Parse::Eyapp a LALR yapp compatible Parser Generator
- Previous by thread: system() commands
- Next by thread: Re: sprintf or pack
- Index(es):