On Wed, 14 Mar 2007, Dharshana Eswaran wrote:
On 3/13/07, Tom Phoenix <[EMAIL PROTECTED]> wrote:
On 3/13/07, Dharshana Eswaran <[EMAIL PROTECTED]> wrote:
> I was going thro the topic "Accessing packed data structures" in the
Perl
> Complete Reference Book
On 3/14/07, Dharshana Eswaran <[EMAIL PROTECTED]> wrote:
snip
> The data which i need to pack and unpack to these elements are in hex
> format(0x0B 0x1C 0x34 etc). It is a string of hex bytes.
>
Can i know about the format in which i need to supply the input? Coz i am
unable to accept the hex st
From: "Dharshana Eswaran" <[EMAIL PROTECTED]>
> I was going thro the topic "Accessing packed data structures" in the Perl
> Complete Reference Book. I came across this example:
>
> struct utmp {
> char ut_user[8]; /* User login name */
> char ut_id
On 3/14/07, Chas Owens <[EMAIL PROTECTED]> wrote:
On 3/14/07, Dharshana Eswaran <[EMAIL PROTECTED]> wrote:
snip
> Now how do i come up with the pack template? I dont know how a enum
should
> be represented in the pack template. :-(
>
> /I8(enum)I8i8I8/ => pack template
>
> The above mentioned en
On 3/14/07, Dharshana Eswaran <[EMAIL PROTECTED]> wrote:
snip
Now how do i come up with the pack template? I dont know how a enum should
be represented in the pack template. :-(
/I8(enum)I8i8I8/ => pack template
The above mentioned enum just contains two elements.
The data which i need to pack
On 3/13/07, Tom Phoenix <[EMAIL PROTECTED]> wrote:
On 3/13/07, Dharshana Eswaran <[EMAIL PROTECTED]> wrote:
> I was going thro the topic "Accessing packed data structures" in the
Perl
> Complete Reference Book. I came across this example:
>
> struct utmp {
>
Tom Phoenix wrote:
> On 3/13/07, Dharshana Eswaran <[EMAIL PROTECTED]> wrote:
>
>> I was going thro the topic "Accessing packed data structures" in the Perl
>> Complete Reference Book. I came across this example:
>>
>> struct utmp {
>> ch
On 3/13/07, Dharshana Eswaran <[EMAIL PROTECTED]> wrote:
I was going thro the topic "Accessing packed data structures" in the Perl
Complete Reference Book. I came across this example:
struct utmp {
char ut_user[8]; /* User login name */
char ut_id[4]; /* /etc/inittab id */
Hi all,
I was going thro the topic "Accessing packed data structures" in the Perl
Complete Reference Book. I came across this example:
struct utmp {
char ut_user[8]; /* User login name */
char ut_id[4]; /* /etc/inittab id */
char ut_line[12]; /* device name */
short ut_pid; /*