in reply to Re^2: Module and external files
in thread Module and external files

He said they are on public domain AND sometimes are updated but preserving the structure. This means they won't change. When they do, he updates the module. Since they're public domain there is nothing prohibiting him from distributing a copy, but the Makefile.PL should always (offter to) check to see if the included ones are the latest.
What happens when his module gets blacklisted because of a tracking portion (hitting a webserver durring make install).
As long as he prompts the user there are no issues.

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

Replies are listed 'Best First'.
Re^4: Module and external files
by waswas-fng (Curate) on Oct 18, 2004 at 15:19 UTC
    Aye he also said he was not the maintainer (he does not control when and if the structure will change).

    Here's one approach that I'd likely take
    $ perl Makefile.PL
    Downloading the files ... success
    Parsing .... success
    Generating module (inlining those big hashes) .... success
    Writing makefile ...
    $ make ... $ make test ...


    I agree he needs to prompt the user, but your example only shows a status as it actually tries to connect out -- or is there a prompt there that I am missing? My point was that he would need to make an option for it to auto download, not just blindly do it.

    I would put a separate script in his distro that 1, downloads the file to the correct location, 2 checks to see if the structure is correct. Add this to the install readme with instructions on how to setup a cronjob to update monthly etc.


    -Waswas