Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: RFC: Test::Copyright

by mirod (Canon)
on Jun 14, 2011 at 10:31 UTC ( #909578=note: print w/replies, xml ) Need Help??


in reply to RFC: Test::Copyright

Do we really need this? (ob IANAL but...) it seems to me that by default everything is copyrighted so there is no need to mention it.

Also, from the docs, the module tests "That the said default copyright statement has at least one final year that matches the current year". The code seems to be supporting this. Why? If I have a module that hasn't been updated since 2006, why would the copyright mention 2011 at all? Does this also means that a test that passes on December 31st 2011 will stop passing on January 1st 2012? That seems a little extreme, not to mention impolite.

Replies are listed 'Best First'.
Re^2: RFC: Test::Copyright
by MidLifeXis (Monsignor) on Jun 14, 2011 at 14:04 UTC

    If I were to use this, it would probably be in a 'releasetest' target or somesuch -- something only run at release time. I see it as only applying at release time, so why run it at any other time.

    --MidLifeXis

Re^2: RFC: Test::Copyright
by SilasTheMonk (Chaplain) on Jun 14, 2011 at 21:38 UTC
    Do we really need this? (ob IANAL but...) it seems to me that by default everything is copyrighted so there is no need to mention it.

    I have clarified the issues in my original post.

    Also, from the docs, the module tests "That the said default copyright statement has at least one final year that matches the current year". The code seems to be supporting this. Why? If I have a module that hasn't been updated since 2006, why would the copyright mention 2011 at all? Does this also means that a test that passes on December 31st 2011 will stop passing on January 1st 2012? That seems a little extreme, not to mention impolite.

    My assumption was that this would only be run by module authors just prior to release. So the default copyright should be uptodate. Individual files only have to match a subset of the default range.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://909578]
help
Chatterbox?
[shmem]: Re^5: Understanding endianness of a number - nice! "zigamorph" will be the host name of the VM I'll set up to debug Microfocus COBOL/perl stuff :-D
[prospect]: Hi, to avoid cluthering the Seekers of Perl Wisdom page. I wanted to print out the values on a new line each. So I though I put a . "\n" behind "print foreach func()" but something interesting happens and it I just get "5" as output :p
[prospect]: print foreach func(). "\n"; sub func { return ( 1, 2, 3, 4, 5 ); }
[prospect]: if I remove the ".\n" I get "12345" as output

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (11)
As of 2017-07-24 10:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (350 votes). Check out past polls.