<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><br>Bem, aproveitando a brilhante participacao do Nelson Ferraz, lembro que o licenciamento deve estar em cada script que escrevemos, como recomenda o Larry Wall. Abaixo meu cabecalho padrao que mantenho em meus templates do vim, incluindo o historico do arquivo, fundamental para a organizacao do trabalho.<br><br><span>Vejam: <a target="_blank" href="http://dev.perl.org/licenses/">http://dev.perl.org/licenses/</a></span><br><br>Eu pessoalmente prefiro a licenca Affero<br><br><code><br>#!/usr/bin/perl<br>#===============================================================================<br># teste.pl<br>#<br># This file is part of .......<br>#<br># teste.pl is free software: you can redistribute it and/or modify<br># it under
the terms of the GNU General Public License as published by<br># the Free Software Foundation, either version 3 of the License, or<br># (at your option) any later version.<br>#<br># teste.pl is distributed in the hope that it will be useful,<br># but WITHOUT ANY WARRANTY; without even the implied warranty of<br># MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br># GNU General Public License for more details.<br>#<br># You should have received a copy of the GNU General Affero Public License<br><span># along with teste.pl. If not, see <<a target="_blank" href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>>.</span><br>#<br># FILE: teste.pl<br># USAGE:
./teste.pl <br>#<br># DESCRIPTION: <br>#<br># OPTIONS: ---<br># REQUIREMENTS: ---<br># BUGS: ---<br># NOTES: ---<br># AUTHOR: Ricardo Filipo, ricardo.filipo@gmail.com<br># COMPANY: Mito-Lógica design e soluções de comunicação ltda<br># VERSION: 1.0<br># CREATED: 04/07/2010 09:34:57 AM<br># REVISION: ---<br>#===============================================================================<br>use strict;<br>use warnings;<br><br></code><br><div><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size:
13px;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">De:</span></b> Flávio R. Lopes <flavio.lopes@links.inf.br><br><b><span style="font-weight: bold;">Para:</span></b> saopaulo-pm@mail.pm.org<br><b><span style="font-weight: bold;">Enviadas:</span></b> Terça-feira, 6 de Abril de 2010 19:04:34<br><b><span style="font-weight: bold;">Assunto:</span></b> Re: [SP-pm] O que é que você escreve no cabeçalho dos seus programas?<br></font><br>Bom...como estou no começo ainda, utilizo as opções abaixo que é o <br>suficiente para fazer os exercícios propostos:<br><br>#!/usr/bin/perl<br>use strict;<br>use warnings;<br><br><br>Pra falar a verdade as outras opções nem sei pra que serve!...mas tá <br>aí!...vou pesquisar pra saber do que se trata!<br><br>Abraço,<br>Flávio<br><br><br><br><br>Luis Motta Campos escreveu:<br>> Por que alguém me perguntou isso hoje, eu fiquei curioso em saber o que<br>> é que o
resto do pessoal aqui escreve no cabeçalho dos seus programas Perl.<br>><br>> Os meus começam sempre assim:<br>><br>> #!/usr/bin/perl<br>> use strict;<br>> use warnings;<br>> use Carp;<br>> use Data::Dumper;<br>> use DBI; # eu sou um DBA, não faço muitas outras coisas com perl<br>><br>> O que você escreve no cabeçalho dos seus programas ou módulos?<br>><br>> Putamplexos!<br>> <br><br>_______________________________________________<br>SaoPaulo-pm mailing list<br><a ymailto="mailto:SaoPaulo-pm@pm.org" href="mailto:SaoPaulo-pm@pm.org">SaoPaulo-pm@pm.org</a><br><a href="http://mail.pm.org/mailman/listinfo/saopaulo-pm" target="_blank">http://mail.pm.org/mailman/listinfo/saopaulo-pm</a></div></div>
</div><br>
<hr size=1>Veja quais são os assuntos do momento no Yahoo! + Buscados: <a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/">Top 10</a> - <a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/celebridades/">Celebridades</a> - <a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/m%C3%BAsica/">Música</a> - <a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/esportes/">Esportes</a></body></html>