Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Excellent! Most excellent! :)

    Do you have a repo somewhere, git or svn, that I can send patches against?

    I would like to fix a couple of nits.

    Much better than the podwebserver I was using...

    Best regards,

    --
    life is short
  • CPAN::Mini globs the local directory name to expand, e.g. ~/my-little-cpan so you need something like this:

    --- lib/CPAN/Mini/Webserver.pm.orig    2008-08-07 13:03:04.000000000 +0100
    +++ lib/CPAN/Mini/Webserver.pm    2008-08-07 13:01:40.000000000 +0100
    @@ -26,7 +26,7 @@
    sub after_setup_listener {
         my $self      = shift;
         my %config    = CPAN::Mini->read_config;
    -    my $directory = dir( $config{local} );
    +   

  • I tried to install this a while ago and it failed. It looks like it is failing for most reporting installers. I tracked down my failure (please set up minicpan) to something that I predict will be common.

    CPAN::Mini expands ~ in its config to CPAN::Mini->__homedir during new, but CMW doesn't. That means it looks for files literally named ~, and fails to find them. With my config updated to use an absolute directory name, it worked.

    Obviously(?) I'd rather use ~, since it lets me share the config on mac

    --
    rjbs
    • I've just released 0.33 which includes:

      - glob the local directory name (like CPAN::Mini does) to make
      ~/my-little-cpan work (patch by Andy Armstrong)

  • That's nice.

    Yes. Let's have a BoF about this. Ideally somewhere you can share commit bits with people ;)