LeeC79 has asked for the wisdom of the Perl Monks concerning the following question:
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How-to install POSIX.pm
by Abigail-II (Bishop) on Sep 09, 2003 at 12:54 UTC | |
Candidate number one, what is your name? LeeC79 LeeC79, what is your problem? it really isn't working LeeC79, can you give us any more hints? I'm assuming that it's because this module has to be installed some other way. LeeC79, that's a really helpful hint! It's going to be a piece of cake for our panel of Perl wizards. Panel, what's your answer? Yes, Master of Regular Expressions, what's your opinion? Master of Regular Expressions: Let's see. Yes, I know, I know. LeeC79 hasn't plugged in his computer! LeeC79, did you plug in your computer?
Uhm, yes, I did. Our candidate did plug in his computer! The score is now 1-0 for our candidate. Other opinions? Pack Wizard: Could it be that LeeC79 is sitting too far from his desk, and that he can't reach the keyboard? LeeC79? No, I can reach the keyboard just fine. Pack Wizard: It was worth a try... Sure, but the score is now 2-0 for our candidate. XS Specialist: It's clear as water to me. The candidate is trying to install the module and get it working with Python! LeeC79, did you try installing with Python? No snakes can be found on my computer. Any of the other mighty wizards have a clue? The Benchmark King: Perhaps the library was installed correctly, but the candidate expected it to do something else.
No, it isn't working! The Benchmark King: How do you know?
It just doesn't work! The Benchmark King: ...? Perl wizards, you are out of time. Once again you failed to help a candidate with a very desperate problem. Tune in tomorrow, to the next episode of guess what am I doing wrong. Same time, same channnel. Abigail | [reply] |
by smitz (Chaplain) on Sep 09, 2003 at 14:01 UTC | |
This stuff is better than coffee. | [reply] |
by Popcorn Dave (Abbot) on Jan 11, 2004 at 08:26 UTC | |
Great work! There is no emoticon for what I'm feeling now. | [reply] |
Re: How-to install POSIX.pm
by jeffa (Bishop) on Sep 09, 2003 at 14:29 UTC | |
According to POSIX.pm and Perl 5.004_02 - Compatible?, the only reason you appear to need POSIX is for the strftime function. Well, one of my favorite date/time modules, Time::Piece, has a strftime function as well: Note that i have not tried this with Perl 5.004_02, but after looking at the source, i do not see any immediate 'flags' that indicate it won't work. Sometimes you just have to sit back and ask yourself "is this really what i need to do, or just what i think i need to do." Please don't disrespect the Monks. If you think we are picking on you, we are not. We are just trying to help. Patience young grasshoper, your problem will be solved. :) (and read How (Not) To Ask A Question for tips on effective and uneffective posting) jeffa L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat) | [reply] [d/l] |
Re: How-to install POSIX.pm
by liz (Monsignor) on Sep 09, 2003 at 12:36 UTC | |
If you take apart a clock, you end up with a whole lot of small parts. What you are trying to do is put a small part (POSIX.pm) into another clock (your perl installation), without knowing whether that part originally belonged to the clock, is already in there, misses any other parts that it needs in order to work. etc. etc. Get a whole, working clock in one piece. It will have all the right parts. Liz | [reply] |
| |
Who We For? (Was: Re: How-to install POSIX.pm)
by Intrepid (Deacon) on Sep 10, 2003 at 04:41 UTC | |
What's the Real Problem here?Looking over the evolution of this thread, I decided I felt like making some observations about what happened here (besides my laughing myself silly over Abigail-II's comedy). Maybe some of it, humble as it is, might have general applicability. The O.P. probably won't stick around to read this, but if he does, I should first point out that I think he got off relatively cheap in the ridicule department. The reason I says so is that the O.P. states Truth of the matter is, I taught myself Perl last week and I'm still learning. I thought this was a place to come and get help, not be ridiculed.The immmense absurdity of the above is reason enough for normal people to find it nearly impossible to take the matter seriously. I taught myself Perl 6 years ago and I've barely begun to learn how to use the language effectively or beautifully. OK, so enough about that. It's painfully obvious to nearly everyone. What I think really merits huge ridicule is the other dimension of the arrogance here. The O.P. came up with an idea: "install POSIX.pm by copying it into some [undisclosed] location" and then when it didn't work (of course), he responded to efforts to point out his failure of understanding, with indignation. He came up with an idea that was completely flawed and arbitrary (well, it might have worked if we'd been talking about a simple pure-Perl, stand-alone module) and then remained fixated on it. Anything but read the pertinent Perl documentation, apparently. Or re-examine his thinking process. This fiasco of non-help (as seen by him) supplied to this new user provokes us to look, if we care to, at several questions. Some of those might be: Read more... (5 kB)
Considered by holli: leave as it is. | [reply] |
Re: How-to install POSIX.pm
by BrowserUk (Pope) on Sep 09, 2003 at 12:30 UTC | |
The file POSIX.pm is only the perl front end to the file POSIX.XS which is where all the real work is done. To get the POSIX package to wirk requires compileing POSIX.XS. However, the POSIX package comes as a part of the core distribution and has done for at least the last 3 or 4 releases. Which version of perl are you using that you need to install this yourself? Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller If I understand your problem, I can solve it! Of course, the same can be said for you. | [reply] |
| |
Re: How-to install POSIX.pm
by davorg (Chancellor) on Sep 09, 2003 at 12:39 UTC | |
If you have to install POSIX.pm then your installation of Perl is either very old or very broken. In both cases you should really consider reinstalling from scratch. --<http://www.dave.org.uk> "The first rule of Perl club is you do not talk about
Perl club." | [reply] |