Quote Originally Posted by brewbuck
It's not THAT complex... Legally, unless you have a contract stating otherwise, you DO own the portions you coded on your own -- especially those parts you coded before your boss even knew about it.
Or unless Australian law is such that work done belongs to one's employer, even if the work is unrelated to the job (and in this case it is related to the job).