<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Why do you want to do this, instead of, for example, just sending
    the module to the other node?<br>
    <br>
    <tt>{Mod, Bin, File} = code:get_object_code(Mod),<br>
      rpc:call(Node, code, load_binary, [Mod, File, Bin]).</tt><br>
    <br>
    or alternatively use rpc:multicall(Nodes) for many nodes and doing
    the same.<br>
    <br>
    <div class="moz-cite-prefix">On 12-08-14 11:15 AM, Tyron Zerafa
      wrote:<br>
    </div>
    <blockquote
cite="mid:CALGEZ2ci+GsK20GMgSAZiRbfoW=PuvwbwBxtUPvJU-Ew+fv7tA@mail.gmail.com"
      type="cite"><br>
      Hey Jesse
      <div>    I need something stronger than just import. I need to put
        a bunch of functions from different modules into a single one
        and transfer this to a remote node. Then I want to be able to
        use these functions from the remote node. </div>
      <div>If I simply use import, I will not be able to use them on the
        remote node without explicitly transferring all the modules to
        which the functions belong to.</div>
      <div><br>
      </div>
      <div><br>
        <div class="gmail_quote">On Tue, Aug 14, 2012 at 5:10 PM, Jesse
          Gumm <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:gumm@sigma-star.com" target="_blank">gumm@sigma-star.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <p>That sounds like you're looking for</p>
            <p>-import(Module, Functions).</p>
            <p> <a moz-do-not-send="true"
                href="http://www.erlang.org/doc/reference_manual/modules.html"
                target="_blank">http://www.erlang.org/doc/reference_manual/modules.html</a>
            </p>
            <p>--<br>
              Jesse Gumm<br>
              Owner, Sigma Star Systems<br>
              <a moz-do-not-send="true" href="tel:414.940.4866"
                value="+14149404866" target="_blank">414.940.4866</a> ||
              <a moz-do-not-send="true" href="http://sigma-star.com"
                target="_blank">sigma-star.com</a> || @jessegumm</p>
            <div class="gmail_quote">
              <div>
                <div class="h5">On Aug 14, 2012 9:56 AM, "Tyron Zerafa"
                  <<a moz-do-not-send="true"
                    href="mailto:tyron.zerafa@gmail.com" target="_blank">tyron.zerafa@gmail.com</a>>
                  wrote:<br type="attribution">
                </div>
              </div>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div>
                  <div class="h5">
                    Hey all,
                    <div>    Is there any mechanism in Erlang which I
                      can use to copy functions from one module to
                      another? So, if I have module <b>A</b> containing
                      functions <b>a</b>, <b>b</b> and <b>c</b>, is
                      there any way in which I can copy <b>a</b> to
                      module B?<br clear="all">
                      <div><br>
                      </div>
                      <div>Thanks </div>
                      <div>Tyron</div>
                      <br>
                    </div>
                    <br>
                  </div>
                </div>
                _______________________________________________<br>
                erlang-questions mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:erlang-questions@erlang.org"
                  target="_blank">erlang-questions@erlang.org</a><br>
                <a moz-do-not-send="true"
                  href="http://erlang.org/mailman/listinfo/erlang-questions"
                  target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
                <br>
              </blockquote>
            </div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        Best Regards,
        <div>Tyron Zerafa</div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
erlang-questions mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>