| |
| |
| |
|
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
Comments:
<0> do jews do that? <1> merlyn: What is your name? <2> I have a long running daemon that loads modules on the fly and executes code in them. I'm using require, which once it loads the module successfully, won't ever reload it from disk, it has it in memory. Is there a way for me to reload that module (especially if it's changed). <3> avar, IchbineinJude <1> lol <4> avar: Randal L. Schwartz <1> rindolf: Well that is a common jewish surname <1> but others use it too... <4> avar: I see. <5> ctooley: perldoc Module::Reload. <0> it's even a made up name <0> see my home page <5> ctooley: there's also Module::Pluggable :) <0> my family name is really Von Schraeder <0> "am I related to any other schwartz folks?" <6> rindolf: no, I'm not jewish
<4> PerlJam: I see. <6> rindolf: but happy p***over to you anyway :) <4> PerlJam: thanks. <2> integral, thanks <0> I wonder if somehow my name has triggered false hatred. <0> that'd be ironic, eh? <0> people hating me for something they only *think* I am. <0> crap. <7> merlyn: hi are u really the author of the camel book? <6> heh <6> troytroy: Llama! <0> the original camel, yes <7> yes Llama <0> and the llama, and the alpaca, and the shiny ball, and etc. <0> and the gecko <0> ("no geico!") <7> so u are Prof Landrak i presume <0> who is Landrak? <8> Landrak, Meshak, and Abendigo <9> bleh perl is stupid i had to write a sub to replace variables with its values in regvars <0> that sounds vaguely familar... like from the same childhood sunday school cl***es. :) <8> hahah that is stupid <7> sorry i mean Randal L. Schwartz <0> you keep saying "regvars"... and I don't see you having defined that. <9> regvars is when i write a string which i store in a variable which i will use in a match expression like this: <9> $somestring =~ $regvar <0> OK <9> i dont wanna write long regexps too many times <0> and what's the problem you want to solve? <6> Daniel465746: sounds like the user (you) doesn't know perl. <4> Daniel465746: you need to do m{$regvar} <6> rindolf: no, he doesn't. <9> lol rindolf <9> that just dont work <9> i mean you suggested that to me already <4> Daniel465746: but $somestring =~ $regvar is illegal. <6> Daniel465746: it does work. It may not do the thing that you want done, but it does work. <9> well maybe i dont know perl <6> rindolf: no it's not. <9> and thats y i had to work more now <0> $somestring =~ $regvar works fine <9> lol it works but it doesnt do what i want? <9> lol <0> it treats it as $somestring =~ /$regvar/ <10> how are perls access controls for cl***es? I've never played with them much but my upcoming web dev project will need them... <0> "access controls" <0> "cl***es" <0> define those in a perl context, please. :) <9> yeah it works fine but it doesnt work with regvars like this <11> GenKreton: What? <0> those are not perl terms <4> PerlJam: interesting. <6> Daniel465746: considering that I don't know what you want, I can't speak on the matter. <0> well - cl*** might mean package <9> 'abrakadabra${somthing}dabradabra' <0> use double quotes there <9> and it vant replace $somthing in any way i tried <0> not single quotes <9> not even m{$var} <0> $reg = "abra${something}cadabra" <4> Daniel465746: you need double quotes.
<9> yeah i know <0> then $match =~ $reg <4> Daniel465746: or qq// <0> that works just fine <9> but at the time of def the value of $something is unkown <10> I just need subcl***ing/// so yeah packages <0> Daniel465746 - AHH you are asking a faq <0> as we like to say "that's a faq, jack!" <0> perldoc -q expand <0> "How can I expand variables in a text string?" <0> GenKreton - your question is..? <0> and don't repeat what you said before. <10> is there a way to restrict my packages and methods like in c? <0> please ask *a question*. <0> GenKreton - yes, and don't do it <10> don't? <11> GenKreton: There are ways, but we usually don't bother <0> right. don't <4> GenKreton: look at Cl***::Contract or whatever, if you really must. <0> Perl is an adult language <6> C doesn't have packages or methods :) <0> you are expected to use discipline <4> PerlJam: he probably meant C++. <0> not try to enforce it technologically <0> if you dont' like that, go back to PHP or C++ <10> ahh <7> i just installed perl-doc package how do i view the documentation <4> troytroy: perldoc <6> troytroy: perldoc perl <12> The perldoc for perl - is at http://perldoc.perl.org/perl.html <0> perldocperldoc <0> perldoc perldoc <12> The perldoc for perldoc - Look up Perl documentation in Pod format is at http://perldoc.perl.org/perldoc.html <0> how were you using perl before? <0> without the docs? :) <0> pure psychic power! <0> "I sense that Perl will accept this code!" <4> merlyn: :-) <4> merlyn: maybe he typed "man perlfoo" <0> and why is doc-install *optional*? <0> that's a bad choice <6> merlyn: such is debian. <0> debian-- <4> merlyn: and Mandriva <0> mandriva-- <0> linux-- in general <6> and a couple of other linux distros <0> (other linux distros)-- <4> merlyn: mandriva++ <4> merlyn: linux++ <0> why ? if they do that, they need a negative point <4> merlyn: you don't need perldoc to run stuff written in perl. <0> don't offset it <7> ok thanks <0> the problem is that it leads to the situation troytroy is in <13> slackware++ # for installing the docs by default. <0> you should have to type soemthing VERY special to make it NOT install the docs <4> merlyn: so if you're not a perl programmer, why do you need perldoc? <7> ??? <0> I'm just saying the result <4> BinGOs: Mandriva installs the docs, it just doesn't install the perldoc program. <0> based on the result, it's broken <0> it expects you to hunt them down on the disk? <13> seconds out. round two. <0> that's kinda weird <7> i just wanted to view the documentation <0> I'll probably never undersatnd packager ideals. <14> well perl is installed without perldoc for all the people who want to run perl scripts that others write without ever wanting to understand them or write them <7> so what are we going to do about those peddling copyright boks on the #ebooks channel on undernet server <0> but that shouldnt' be the DEFAULT <0> becausde then peopel never learn about the perldocs <14> merlyn: why not? that covers the vast majority of users <0> it leads to confusion
Return to
#perl or Go to some related
logs:
#osdev permissions udev parport0 merge partitions in debian fedora manually isntall flash plugin firefox netsat plunt debian fluxbox startup postfix mailque #perl Grettch ssh -X debian server Gtk-WARNING **: cannot open display:
|
|