in reply to Handy dandy CPAN pollution

The bit about the $VERSION not being changed interests me. It is stated on PAUSE that you can't upload a module with the same $VERSION number twice. If this has occurred you should let the PAUSE team know as it is a bug with their unwrapping code.

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Replies are listed 'Best First'.
Re: Re: Handy dandy CPAN pollution
by Juerd (Abbot) on Dec 26, 2002 at 02:31 UTC

    The bit about the $VERSION not being changed interests me. It is stated on PAUSE that you can't upload a module with the same $VERSION number twice. If this has occurred you should let the PAUSE team know as it is a bug with their unwrapping code.

    You can't upload a file with the same filename as any previous upload. If you don't update $VERSION, that means you can upload the same version twice, as long as the distribution filename is different.

    - Yes, I reinvent wheels.
    - Spam: Visit eurotraQ.
    

      You can't upload a file with the same filename as any previous upload.
      That's not a rule I've ever seen anywhere, nor is it enforced, nor practical.

      I upload a new index.html file about every two months. Always the same name.

      -- Randal L. Schwartz, Perl hacker
      Be sure to read my standard disclaimer if this is a reply.

        That's not a rule I've ever seen anywhere, nor is it enforced, nor practical.
        I upload a new index.html file about every two months. Always the same name.

        Yes, a file named index.html may be uploaded more than once. I didn't mention the exception, because I didn't think it would be relevant information. It is now, though :)

        From http://pause.perl.org/pause/query?ACTION=pause_04about, I quote:

        Please, make sure the filename you choose contains a version number. For security reasons you will never be able to upload a file with identical name again. This strict requirement does have one exception: documentation files may be overwritten. There's a simple regular expression that draws the line between docu und code: /(README|readme|\.html|\.txt)$/. Filenames matching this RE can be uploaded as often as you like. By the way: it is highly appreciated, if your packages come tarred and gzipped with a Makefile.PL, so they can be installed in a standard way.

        - Yes, I reinvent wheels.
        - Spam: Visit eurotraQ.
        

      Ah, should have RTFM more closely. I would think that is not what you want though. $VERSION 0.01 should be fixed in time and place. If it needs updating that should be $VERSION != 0.01

      cheers

      tachyon

      s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print