Taking ideas and integrating them into your own code, absolutely. Copy-pasting non-trivial bits of code into a commercial codebase without proper attribution is not just "bad manners" it is downright illegal and extremely poor behavior.
A few questions arise from that, and since you seem to understand this stuff:
Presumably, copying the word 'if' into my program would require a consultation with the author of the code I took it from?
How about an if condition?
What if I change the variable names?
What about merlyn's is_numeric() function?
sub is_numeric { ($_[0] & ~ $_[0]) eq "0"; }
Under what circumstances should I take a consultation or negotiate a licence before using that in a commercial Perl project? And how does this affect commercial organisations using CPAN modules as a whole?
Where do you draw the line?
So, if I re-type the code I wish to use, then it's okay?
In reply to Re^10: Why non-core CPAN modules can't be used in large corporate environments.
by BrowserUk
in thread Why non-core CPAN modules can't be used in large corporate environments.
by Moron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |