in reply to C to Perl
use strict; my $cc = "whatever"; # Pack a length and the cc string into a cmd field. $cc .= "\015"; my $index = length($cc); my $cmd = pack 'iZ10',$index,$cc;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: C to Perl
by Thelonius (Priest) on Apr 05, 2003 at 01:53 UTC | |
by tall_man (Parson) on Apr 06, 2003 at 00:35 UTC |