in reply to wget alternative

Simple search ( wget ) or Super Search ( ?node_id=3989;HIT=wget;re=N ), or google search ( site:perlmonks.org wget )

Replies are listed 'Best First'.
Re^2: wget alternative
by Anonymous Monk on Jul 15, 2011 at 03:47 UTC
      Thanks!

      Beings that the script is being hosted on servers that don't belong to me, is it really ethically okay to execute the updates either by replacing modules or include()-ing them?

      They'd be eval{ }-ed and it'd only do so when prompted, so it's not a matter of CAN I, but more of a SHOULD I allow Perl to execute code from an external source?
        Not if you're using the system Perl and system libs!

        If you want to twiddle modules for yourself, that's one thing; but messing with the tools used by others on "servers that don't belong to (you)" is waaaay wrong. And the scenario outlined in your initial post (at least as I understand it) means you plan to allow users -- without limits -- to modify an executable script... which is sort of a wee, small security problem.

        Perhaps you should tell us what you're really trying to accomplish, on the chance that some Monk can offer a better approach.