Perl and a lot of Perl code, especially modules, uses the Artistic
License: in a nutshell (IANAL) you can do what the heck
you want with the code, modifying it, extracting pieces
of it for your own usage, charging people for it, anything
as long as you don't call modified versions the same as the
original and distribute them without the author's consent.
The standard header for that kind of code is:
# Copyright (c) 2000 belize
# All rights reserved.
# This program is free software; you can redistribute it and/or
# modify it under the same terms as Perl itself.
Of course basic courtesy would dictate giving due credit
to the author.
As for other code, you really have to read the license.
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link or
or How to display code and escape characters
are good places to start.