| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
Comments:
<0> Yaakov: "The job's not done until you've found someone to blame." <1> I know he was saying some stupid things. What I mean is, that's no reason to be even worse ourselves. <2> If we attack beginners having trouble we are no better than #perl on MAGnet! <3> beth, you understand that bored people thrive on drama. that's all that happened <4> beth: I also agree with yuo. <5> I think it's the accumulated craziness though <6> Yaakov++ <5> He seems to get more and more confrontational for no reason. <5> well - the reason being an XYZ problem <7> "A little rudeness and disrespect can elevate a meaningless interaction to a battle <7> of wills and add drama to an otherwise dull day." <1> yeah, I know <6> I've been attacked on both channels:) <8> Stereo! <9> GumbyBRAIN: make samba compile faster
<10> It is substantially faster if you want out of the compile time options, though, what about control characters? <1> 2 or 3 times today there have been ***holes starting fights in here, and it turns out their problem was that they had a question, didn't understand the answers, and when somebody talked to them civilly they calmed down, got their answer, and went away <1> I don't think it's coincidence. <11> Is a quadraphone a device for listening to squares? <2> yrlnry: It is most useful for calling common areas on college campuses. <9> DrForr_: i prefer Krustophenia <2> yrlnry: Did you like my limerick? <11> What limerick? <6> beth: stop spreading the insanity! <2> The one I pointed out on the other #perl! <1> jdv79: I think it's too late <2> BETH IS RIGHT, HEAR HER. <3> what kind of beer <2> yrlnry: I wanted you to see my limerick! <1> bring me some! <6> yrlnry: grab a few as well please <9> we could all use a little alcohol probably <4> o/~ Don't play that song <4> That "Achy Breaky" song <4> The most annoying song I know <4> And if you play that song <4> That "Achy Breaky" song <4> I might blow up my radio, ooo..." <9> cfedde: oh god i hate that song <11> Yaakov: show me now. <1> SIX LINES OF PASTE! TO THE DUNGEON WITH YOU! <2> < Yaakov> There was a retardo named Mark / whose bite wasn't bad as his bark <2> / if you asked something lame, he would answer with flame / or at <2> least a sarcastic remark. <4> /kb cfeedde <11> The second line doesn't scan. <12> btw, beth i don't think INC is going to work <2> yrlnry: I read it fine. <12> the hash doesn't give any absolute paths <1> what's the problem, pbelau ? <12> well i shouldn't say any <12> but doesn't give an absolute path for the relevant .pm <13> o/' Don't find that heart / That telly taley heart / And if you find that heart / That telly taley heart / You'll probably find out I killed the man o/; <2> yrlnry: Anyway, in your honor. <11> Oh, I see. You omitted the gramatically required word "as", and I supplied it unintentionaly. <11> Well, thanks. <7> racist! <14> sombody can tell me if there is a module in perl for multimedia ? <1> pbelau, it should. Use a pastebot to show us the output? <2> How do you know that pbelau is a baby?! Agist! <1> use Data::Dumper; print Dumper \%INC; <7> I have to stop hanging around in #Politics, all those conspiracy nuts get me in a combative mood <12> beth, key is Piczo/Operations/Config.pm <15> dkr: Kill them dead. <12> beth, that's the one value i'm interestred in <15> eval: \%INC <16> buu: {'Net/DNS/RR/NS.pm' => '/usr/lib/perl5/Net/DNS/RR/NS.pm','HTML/TokeParser/Simple/Token/Tag.pm' => '/usr/local/share/perl/5.8.7/HTML/TokeParser/Simple/Token/Tag.pm','norris.pm' => 'norris.pm','Gu <11> Yaakov: http://www.plover.com/~mjd/misc/nothing-to-say <5> pbelau - you want something relative to your main script? <15> The paths are of course relative to the path of your perl script
<5> I think we've already told you how to do that. <1> pbelau: yes, but what value goes with that key? <2> yrlnry: Thanks! <15> Which you can trivially find with FindBin <15> I swear we said this once. Or twice. <1> psst he wants a file relative to the module <11> sure. <14> no ? <6> what's norris.pm? <15> beth: Sure, you can use the path from INC + FindBin to determine the path to the module <15> jdv79: wankit <5> even simpler, use __FILE__ while *in* the module <5> and that's *also* been pointed out too <15> merlyn: Well, yeah <12> i don't know anything abotu __FILE__ <15> hrm <5> pbelau - I said it before <15> eval: __FILE__ <16> buu: (eval 177) <5> my $config_file = dirname(__FILE__)."/some_config_file"; <15> Useless. <12> what is __FILE__ ? <15> merlyn: You actually need to munge it a tad <5> it's the pathname to the current file <6> i believe its all relative folks - i tried to solve his very problem maybe 2 months ago <5> if you then OPEN the file right then, you can read it <12> merlyn, that's exactly what i was looking for <3> pbelau, time for you to learn some perl <17> pbelau: can I ask a question here? <7> jdv79: use norris; makes it so that your script applies brute force algorithms in O(1) <18> Hi yrlnry <5> open my $c, dirname(__FILE__)."/some_config_file"; <2> yrlnry: Thanks, I have to think about the story. <5> then you can read from $c <15> merlyn: File::Foo::Bar.. <2> mangle: frappe <16> frappe <5> for module Foo/Bar.pm, that'll open Foo/some_config_file <17> What do you want to have happen? Forget about perl ****ing, what you've tried, how you feel. <5> buu - eh? <12> merlyn, is there any documentation for __File__ <15> merlyn: Nothing! <5> pbelau - it's in Perlsyn <5> I think <5> I dunno <5> it was in the One Original Perl manpage <5> buu - what's the perldoc searcher? <15> perldata maybe <4> too bad noone maintains One Original Perl manpage for current perl <15> yeah <19> sounds like perldata to me. <15> perldoc perldata <5> but basically, __FILE__ is the name of the current file, although it might be relative to cwd <16> Type 'perldoc perldata' in your shell or go to http://perldoc.perl.org/perldata.html <5> if you need absolute name, you can mangle it <19> one could, of course, grep the docs... <5> buubot has a perldoc grepper <5> but I don't recall what the trigger is <15> merlyn: Just on -q <12> merlyn, well getting the cwd is easy <5> oh - on -q <7> perldoc -r __FILE <5> pbelau - you won't need to cwd mangle it IF you do the read like I just said <15> perldoc -q __FILE__ <16> Sorry, no matches found <15> =/ <15> It just does a faq search <5> if you look at __FILE__ while the module is being read, then you are in the right relative/absolute namespace <2> < merlyn> pbelau - you won't need to cwd mangle it IF you do the read like I just said <5> unless you do some funky chdir in your BEGIN block somewhere. :) <7> -r been running on my box for over a minute alerady now, :) <2> GAH <20> copters
Return to
#perl or Go to some related
logs:
#web ubuntu fsck.vfat high cpu hda_intel: send_cmd timeout: #centos linux shuts down at 94C DV8000 AHCI Install 9880l enable select * count using innodb
fltk lib suse packman CRLF after http body
|
|