#perl - Sun 22 Apr 2007 between 03:21 and 03:36



crungeAngel-SL: have you tried using # for comments?
Kronuzhello
hey, I'm having some problems installing stuff from cpan
Jmax-i have a POE application that uses POE::Wheel::ReadLine to take input in a sh-style interface and process commands. however, i'd like to add full sh-style scriptability, or maybe even perl scriptability. what would be the easiest way to go about this?
Kronuzand also, if I do an 'r' to report upgrades, I get some apps with undef or version = 0
Jmax-the single script is already 830 lines heh
Kronuzor a few others like this one: GD::Graph::Data 1.21.2.2 1.21 BWARFIELD/GDGraph-1.4307.tar.gz
Jmax-Kronuz: yeah that's probably a failure of the author to include a $VERSION
Kronuzwhich is confusing...
Jmax: I was thinking my linux distribution is the one that had it wrong in the first place
for instance, the r says I can upgrade the DBD::mysql 3.0008 to 4.004
and it builds okay and all, but it fails the tests (lots of them) for some reason
Jmax-heh
Kronuzso I'm confused... maybe I have everything misconfigured
(this is the first time I use cpan)
... but I can't seem to install many packages... either they're broken in cpan or I have everything set up wrong
where does cpan work at its best? in what distribution or OS
infiunless you have the 'test' db still installed in mysql, with passwordless access from the 'test' user (the default mysql setup), many of the tests will fail.
for that module, I mean.
Kronuzhmm
infiIt probably works, though. just force install it, and try it yourself.
Kronuzinfi: is the test database empty? (tableless)
infiyes, by default
and there is a passwordless 'test' user that only has full access to that database
sporktonHow do i put chomp inline with a print statement, and get the chomped value not the return value? say "print chomp($var);"
Kronuzokay, the table is there and the access is available... but still some of the tests failed (not as many tho'), let me see which ones
infiKronus: I think the mysql_install_db script sets this up again for you; but that might not be the one
(been a while)
sporkton: chomp doesn't do that.
Kronuz: I still suspect it will work. just force install and try it ;)
sporktonyes i know it doesnt do that, how do i simulate that, so i can have one line doing the printing and the chomping
Kronuz:P
infisporkton: tr? s///? and why do you care? clarity in code is more important than writing one-liners.
Kronuzit's scary doing it without the tests...
actionCPAN upload: Algorithm-HITS-Lite-0.04 by GUGOD
CPANupload: Algorithm-HITS-Lite-0.04 by GUGOD
infiKronuz: well, paste the test output then. I've done that install many times, and almost never have the test user around anymore, and thus had to force install it several times; never seen it not work afterwards.
KronuzI suppose the problem now is that the database doesn't accept transactions (I created it using just CREATE DATABASE test)
infioh, maybe. it might need to be InnoDB by default.
nfi, it's been years since I switched everything to Pg ;)
<3 Pg

Page: 5 12 19 26 33 40 47 54 61 68 

IrcArchive