Dear monks!
After reading perldoc -f pack and perldoc perlpacktut I still can't solve one task.
I need to modify fields of some structure, whose address is returned to my perl app by some dll/so. I know how to get the struct to perls side and unpack its fields. But what I cannot understand, is how to write the modified (and packed) structure back. Because I need to tell pack(or unpack?) to write data of given length to given address.
Maybe i'm stuck into something obvious, but just can't understand it?
In reply to modify external data by maard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |