At work we do our work from two different locations. One part is on HP's and another is on our development station. On the development station we used to have another card that ran unix on its backplane, and it gave us easy access to the memory. However now, we dont have that access so we have been porting over our gui's (written in tcl/tk with embedded C) to a client server relationship to manipulate the memory on the development station. We have a lot of structs used in the C code for the guis and were trying to use perl to send the correct info to the server for read and write operations. Is there a way that I can use inline to load our old C and tie the C variables so they communicate read and write to the server? How can I do tie a C variable like how perl does?

In reply to tieing variables by Striider

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.