| crunge | Angel-SL: have you tried using # for comments? |
| Kronuz | hello 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? |
| Kronuz | and 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 |
| Kronuz | or 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 |
| Kronuz | which 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 |
| Kronuz | so 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 |
| infi | unless 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. |
| Kronuz | hmm |
| infi | It probably works, though. just force install it, and try it yourself. |
| Kronuz | infi: is the test database empty? (tableless) |
| infi | yes, by default and there is a passwordless 'test' user that only has full access to that database |
| sporkton | How do i put chomp inline with a print statement, and get the chomped value not the return value? say "print chomp($var);" |
| Kronuz | okay, 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 |
| infi | Kronus: 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 ;) |
| sporkton | yes 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 |
| infi | sporkton: tr? s///? and why do you care? clarity in code is more important than writing one-liners. |
| Kronuz | it's scary doing it without the tests... |
| action | CPAN upload: Algorithm-HITS-Lite-0.04 by GUGOD |
| CPAN | upload: Algorithm-HITS-Lite-0.04 by GUGOD |
| infi | Kronuz: 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. |
| Kronuz | I suppose the problem now is that the database doesn't accept transactions (I created it using just CREATE DATABASE test) |
| infi | oh, maybe. it might need to be InnoDB by default. nfi, it's been years since I switched everything to Pg ;) <3 Pg |