Frankly, I like the idea.
The Wiki concept simply will not work from my point of view however. Too much mediation required.
Having very briefly perused the AnnoCPAN mods, there does seem to be a pretty good start in place.
I am asking myself how I would use this...
Apparently the original author intended for there to be a centralized location for a large public db as well as a 'personal' one for ones own use and reference. I would be very interested in the second, and somewhat less interested in the first. I am certain one could find a large volume of pretty good knowledge from that public repository, but I am guessing the queries would be templated, dictated, or minimally flexible.
The local one however could be much more open, perhaps allowing one to simply write SQL directly against the DB.
I wonder if one could grab from the public server only those comments/notes for those modules which are installed locally?
What does one do if one is using 2 or 3 versions of Perl locally? A db for each lib of mods? There are a lot of ways one could go with this!
I can think of a lot of ways that this could be very useful to me, but it would depend on whether I have a clear understanding of the way a local comment/note repository did or did not interact with the larger/public/central one.
Fun stuff!
...the majority is always wrong, and always the last to know about it...
Insanity: Doing the same thing over and over again and expecting different results.
Re^2: Why not a "living" PerlDoc? Others have it, why not Perl?
by taint (Chaplain) on Nov 20, 2013 at 14:31 UTC
|
Greetings, wjw.
I unpacked it, and built it yesterday. I didn't actually install it into my systems repository. But simply built, and tested it. Then moved it into a relative folder to the web space, and gave it a try.
It didn't work as expected. There appears to be at least one issue with it's call to DBI
index.cgi: Use of uninitialized value in lc at /my/path/to/site_perl/D
+BI.pm line 196
# path above modified, for brevity
I didn't really look into it, and don't really want to address it here (should probably go to SOPW). But I'm guessing it might have something to do with it's age, and possible differences in DBI -- AnnoCPAN::DBI v my system' DBI. Just thought I'd throw out a heads-up, that's all.
I too, thought about using my local system' Perl for the notes. As to my plans for this implimentation; I had intended to simply dump many, if not all versions of Perl into the CPAN folder, off it's root -- this is the default setup for Modules.
It downloads the repository there. The nice thing is. If you don't download the repository. You simply dump the tar balls into the CPAN folder, and it'll work from/on those. I thought that was a definite plus.
Sadly. Due to the DBI issue. I can't comment regarding the database setups you commented on. :(
Thanks, wjw. For taking the time to respond, and your thoughts on it.
EDIT: occurred to me just now, AnnoCPAN, as it is, mustn't be sending lang/encoding. Which causes DBI (and Perl) to complain.
Beginning to sound like a bit more work. :(
--Chris
#!/usr/bin/perl -Tw
use Perl::Always or die;
my $perl_version = (5.12.5);
print $perl_version;
| [reply] [d/l] |