Hindsight is 20:20, but if money is involved, it's business not friendship.

So far, you are a grand down. It's your idea (can you prove that?). Throwing any more money his way is stupid.

If you re-write what he has done, he can accuse you of plagerism, reverse-engineering etc. (Whether he can make it stick depends on laywers and local law.)

Hire a third party who has never seen the code. Employ him, under short-term contract, on an hourly rate, to re-write the code from scratch--clean-room style--with only your verbal guidance and specificatons. Set aside a 'clean room' on your premises, devoid of anything except what he requires, for him to work in.

That ought to break the chain of ownership/copyright.

Consult a laywer. Have the laywer write to the 'friend' formally, stating that he was clearly under a verbal "works-for-hire" contract, and that his demands are in-breach of that contract. He might cave if the money source ceases and the threat of a 'stay' on him using the code seems plausible and backed up by the right terminology.

Good luck.


In reply to Re: Work for Hire Project - Opinions Requested by Anonymous Monk
in thread Work for Hire Project - Opinions Requested by Anonymous Monk

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.