Re: RFC 75 (v2) structures and interface definitions

[email protected] (Chaim Frenkel) 06 Sep 2000 18:40:24 -0400
Newsgroups perl.perl6.language.subs
Message-ID <[email protected]>
>>>>> "PRL" == Perl6 RFC Librarian <[email protected]> writes:

PRL> 	%DataHash = unpack $mypic, $SomePackedCobolData;

Does it unpack it into the hash? Or does it keep a pointer into
the original structure?

What happens when a new key is added to the hash?

What happens if the underlying structure is overlayed?

	sysread(FOO, $SomePackedCobolData, $length);
	%DataHash = unpack $mypic, $SomePackedCobolData;
	sysread(FOO, $SomePackedCobolData, $length);

<chaim>
-- 
Chaim Frenkel					     Nonlinear Knowledge, Inc.
[email protected]				               +1-718-236-0183