Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Automatic module installation

by Corion (Pope)
on May 23, 2002 at 09:11 UTC ( #168707=note: print w/ replies, xml ) Need Help??


in reply to Automatic module installation

Abigail once did something similar in Re: The Future - Managing Modules with The::Net, except that Abigail didn't use CPANPLUS and that the module is not available on CPAN for reasons unknown to me. So a possible name for your module might either be The::Net indeed, as The::Net might be unclaimed at the moment (ask Abigail about this :-) ) or The::Net::CPANPLUS, as that is what you do.

perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ; # The $d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider ($c = $d->accept())->get_request(); $c->send_response( new #in the HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' # web


Comment on Re: Automatic module installation
Download Code
Re: Re: Automatic module installation
by Juerd (Abbot) on May 23, 2002 at 09:13 UTC

    Abigail once did something similar in Re: The Future - Managing Modules

    I knew that already. That node helped me to understand subrefs in @INC.

    And no, this isn't ever going into CPAN. I'm not even going to use it. Just wanted it to be possible :)

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

Re: Automatic module installation
by Anonymous Monk on May 24, 2002 at 10:06 UTC
    Not available on CPAN? So, what's in http://www.cpan.org/modules/by-authors/Abigail/The_Net-1.1.tgz then? You won't find it when searching because 'The' isn't a registered namespace, and the search functionality isn't checking what has really been uploaded.

    Note that The::Net doesn't install the module - it will fetch it each time.

      Not available on CPAN?

      Sigh. Please do learn the difference between "this" and "that".
      This module (the one we're discussing named Blah.pm) will not enter CPAN. That module (the other, slightly off-topic one named The_Net) already has.

      Update - My mistake, as described by the anonymous reply.

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

        Sigh. Please do learn the difference between one level of indentation and two. The not available on CPAN was a reply to Corion's posting, not yours. Corion after all claimed the The::Net namespace was unclaimed, which (s)he could only think if (s)he was assuming the The::Net module wasn't available on CPAN.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://168707]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2014-09-21 19:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (175 votes), past polls