| |
| |
| |
|
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
Comments:
<0> Though I haven't tried that one <1> I don't like reading books on the screen <1> I prefer to print them out <2> fxn: how you like ruby then <3> yes, I always come back to the command line <4> friedo: I don't think anyone does. <3> rixxon: I like dynamic languages in general <5> I use a mix of CUI and GUI. I prefer to have both available. <4> Brend: Dude, it's working. <3> rixxon: do you like Ruby? <0> buu: What is? <5> My favorite language is CubicZirconia. <4> Brend: My raid! <0> buu: Why the hell would I care about your raid <4> Brend: =[ <6> buu: how big is it now? I forgot
<4> FINE. <4> Botje: 2.13tb <6> ooh <6> *wibble* <6> nice <4> =] <6> and it is for backing up your system, of course? :) <4> Yes.. backing up my.. windows.. install.. <7> Your raid? Who did you attack? :/ <5> Brend: Have I got it right that I will have a locally cached copy of the files of interest and then will hand them back when I am done? <6> yes. never CAN be too sure <6> Yaakov: yes <8> quick CGI-ish question. Can you compile perl 5.8.x with modperl 2.x with out thread support? <6> a "working copy" in jargon :) <6> New0rder: sure you can <5> Brend: Your nick changed! <8> hmmm <7> New0rder, perhaps you should take a look at the modperl docs? IIRC it has a list of things you can and cannot do... <4> Botje: Yaakaovo is learning svn?1 <9> Ani-_: OK.. I have AUTOLOAD working fine, but I can't quite get can() working... <4> Botje: I thought mp2 required threads.. <9> Call the inherrited one and return if that was defined.. that's done.. but then what? <7> LeoNerd, did you look at my can-method? <7> It basically has all you need... <9> Yes, well, I've tried that <9> return \&$method; <6> buu: it doesn't. only if you pick the threaded MPM as default <9> Always returns a coderef, apparently... <7> LeoNerd, yes. <6> LeoNerd: you might want to use UNIVERSAL::can instead <6> if that's what you're trying to do <6> oh <6> nm :| <10> perl -le '*n=2; "abc"=~/(.)(.)(.)/; print $n' <7> Why include something complelty irrelevant? <10> would have thought that ***igning something other than a reference, or a glob to a glob would be an error <4> bod: apparently *n=1; is the same as *n=*1 <10> kind of <4> Hurray for perl! <10> it sets sv magic with the literal <6> perl -le '*n=1; $n =2; print $a' <6> Modification of a read-only value attempted at -e line 1. <6> haha :) <10> *n=2006 ends up being the same <6> well, s/a/n/, but you get the point <9> Ani-_: do I have to get can() to check whether such a function can be called, or do I just rely on AUTOLOAD to always have an attempt and maybe fail? <10> *n='.' <10> odd really <9> It seems not to be calling AUTOLOAD, and is just returning a new CODEref for some reason <11> damn hippies <7> LeoNerd, again look at my code. <12> fxn: if you want to use it call import() as well is it like this import { require Module }; print "loaded" unless $@; <12> or just imort <module name> <12> i canuse use <module name> <12> right <7> LeoNerd, what did I do in my code? If the method names were the ones AUTOLOAD can handle then return a reference. Else use the inheritted can method. <10> might be kind of useful for programmatically selecting a numbered match without eval though <7> bod: My guess: if at the time of the ***ignment a glob exist which has the same name then the glob is copied. <3> close_to_debian: nope, I mean if you want to use Module in case it is found you do this: <6> close_to_debian: require Module; Module->import()
<6> and that between eval {} <9> Ani-_: ahh yes.. :/ Tricky, because knowing if it is such a name it can AUTOLOAD is non-trivial... <13> GumbyBRAIN: do they make einstein "back m***agers?" <14> simcop2387: Back with the outfits. You guys look like...what do they make sense. <10> Ani-_: ah, that's possible <5> perl -wle '$x="blort"; *g=\$x; print $g'\ <3> close_to_debian: eval { require Module; import Module; } unless ($@) { I can ***ume Module is loaded here } <7> eval: *FH = \"abc"; *n=FH; $n <15> Ani-_: Return: abc <10> perl -le '$x=42; *n="x"; print $n' <7> eval: *{-1} = \"def"; *n=-1;$n; <15> Ani-_: Return: def <3> close_to_debian: if you only want to check whether is installed you don't need the import, that's what I meant <7> eval: $x=42;*n="x";$n; <15> Ani-_: Return: 42 <10> Yaakov: that's normal... ***igning a reference to a glob is documented to work that way <11> yay, on our way to code C style pointers. screw references! <13> eval: *{0}=1; *{1}=0; print **{0}; <15> simcop2387: Return: 1 <10> woop. time for work <13> eval: *{0}=1; *{1}=0; print **0; <15> simcop2387: Number found where operator expected at (eval 135) line 6, near "**0" (Missing operator before 0?) Error: syntax error at (eval 135) line 6, near "**0" <13> eval: *{0}=1; *{1}=0; print **'0'; <15> simcop2387: String found where operator expected at (eval 135) line 6, near "**'0'" (Missing operator before '0'?) Error: syntax error at (eval 135) line 6, near "**'0'" <13> hmm <0> Yaakov, yes you are mostly correct <13> GumbyBRAIN: do they make einstein dildos? <14> simcop2387: Do they make sure that they breaking people's systems is ok. <0> Yaakov, but there is no locking on the files you have checked out <7> simcop2387, do note that Return is returning the value of the print statement. <10> endless oportunities for obfustcation <0> So other people may be changing their own copies too <13> i know <7> eval: *{0}=1;*{1}=0;**0; <15> Ani-_: Number found where operator expected at (eval 135) line 2, near "**0" (Missing operator before 0?) Error: syntax error at (eval 135) line 2, near "**0" <5> Brend: Right, it merges them. <7> eval: *{0}=1;*{1}=0;**{0}; <15> Ani-_: Return: <0> When the second person commits their changes, there may be clashes with the changes the other person made <6> well, tries to :) <0> And then you have to sort it out yourself <2> fxn: i really don't know much about ruby, hence the question :) <0> Partly for that reason it's better to have lots of small commits than a few big ones <0> I usually commit every 2-3 hours <13> sign up for free pizza at papajohns.com, if they make an 85 yard p*** in the superbowl you get a free pizza <7> You should commit (IMHO) when you are done with a file/function/whatever and before making big chanes. <6> yes <5> perl -wle '*g=0; print $g' #fun <13> eval: *g=0; print $g; <15> simcop2387: ./././evalbot.plReturn: 1 <13> hmm <5> perl -le '$x="happy"; *g=x; print $g' <9> Ani-_: thanks for the help; I think I have it all working now. :) <5> NOW I HAVE TO LEARN ALL THIS VERSION CONTROL CRAP <5> THANKS BREND <7> Brend++ <16> Hello, Yaakov. <5> There was a reason that is was DOWN the list... <5> Hello, Daveman. <5> Lemon Juice, Citric Acid or Vinegar? <1> (version control)++ <5> I use version control! Just not this geeky automation business. <5> DAVEMAN! <5> Lemon Juice, Citric Acid or Vinegar? <5> At least the documentation looks decent. <5> And I have Brend's cell phone and home numbers... <6> hmmm <6> much fun will ensue. <0> Call me anytime sugar! <5> Yeah... easy to say when I don't REALLY have your number! <0> Gah, my resume isn't there after all
Return to
#perl or Go to some related
logs:
ubuntu xforward #suse #physics ubuntu k3b pipeline
#sdl X11 startx ubuntu synergy #mysql #linux #math #ubuntu
|
|