| |
| |
| |
|
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> is there any chm documentation out there for the perl .. standard functions <1> Maybe! <2> chm eww <2> use man! <3> xerophyte: Take the html version and waste it with a chm converter. <4> Nei ~~; <3> Why you'd want to, I don't know <0> b0at, i could not find the html version either ;) <3> ActiveState distros provide a version, then there's perldoc.perl.org <3> And there's pod->html stuff <2> check your perl folder, I'm quite positive activestate ships with html docs <1> b0at: Save me from the stupidity in #javascript =[ <2> that sounds like ajax/php <1> =[ <3> What sounds like what now? <5> why would $my_val = chomp ($my_val) set $my_val to "1"?
<6> no. <7> chomp $my_val; <3> csb: Because it chomped off a character. <6> perldoc -f chomp: It returns the total number of characters removed from all its argument. <8> arguments :) <5> i thought chomp only removed \n <5> ah <6> chomp removes whatever is in $/. <5> yeah, ok <6> And it returns the number of characters it removed. <9> if I do -e "sdf.pl", it takes the current dir right? <9> doesnt seem to do that here. <6> eval: $x="abc";$/="bc";$y=chomp $x;"$y : $x;" <10> Ani-_: Return: 2 : a; <11> integral: if it doesn't resolve, the whole script fails, how to solve this issue? <6> __Ace__ 'it takes the current dir'? <8> rixxon: write better code :) <6> rixxon, fix your script so that it can handle hosts that don't resolve? <8> -e 'foo.pl' is a bit pointless, you could just do perl foo.pl <8> no need for all the extra typing <6> rixxon, or get a nameserver which always returns something. (It will be an incorrect ip but who cares) <1> __Ace__: -e 'foo.pl' will attempt to concatenate "foo" and "pl" <12> It's not a very professional job but it is s the best I can do under the circumstances. <12> s/ s // <1> Yay football piracy <6> I think you have some wors too much in that sentence... Perhaps you need s/ undder the circumstances//g; ? :) <12> IF HE HITS ONE OF THOSE FUEL TANKS THIS WHOLE SHIP WILL BLOW UP <13> yay my first hello world program worked :D <13> question.. is the learn.perl.org beginning_perl docs locked from being saved? <13> I was trying to save a copy to bookmark it <14> I wouldn't expect so <13> I get " A file I/o has occured. The file connection time out." <14> I think your browser or proxy server is at fault there. <15> LadyNikon: Is your nick a reference to some sort of dSLR based photography fettish ? <13> nope.. the movie hackers <14> zerocool. <13> integral: its mozilla fault <1> LordNikon <12> LadyNikon: You remind me of coolpix. <13> buu: yep <14> Anyone who references hackers has to have a mental problem. <13> yes i have a mental problem <12> integral: Like YOU don't have a mental problem. <1> integral: I agree 110% <13> and its only because he was the token black kid.. and im the token black chick <14> No you're not! Your nick is clearly red here! <1> integral: Dude, it's white. <12> LadyNikon: Don't listen, you are black on my screen. <16> lo * <13> hahaha <16> LordNikon :p <12> LadyNikon: There is no reason you should not be able to save Beginning Perl locally. <13> Yaakov: it was mozilla fault <13> well mozilla and adobe.. once i went to IE it saved fine <12> EVERYTHING is Mozilla's fault. <12> Everything that isn't is Adobe's fault. <14> Netscape is Mozilla's fault. <13> heh <13> but i found out instead of .plx to use .pl <12> Yes, ,pl <12> .pl
<14> .plx works fine. but is eccentric <13> active perl i guess doesnt recognize .plx <12> .plx is... freaky stuff. <14> POLAND! <14> active perl smells like unwashed yak hair <17> heh heh mozilla is going to fpmita prison for tax evasion <12> LadyNikon: Why are you learning perl? <13> i gave myself a project.. <13> Yaakov: to automate software testing <13> also its one of the main languages at my job <12> Ah. <12> Perl is lovely. <13> perl, xml, html <13> so i figure to broaden my scope i guess. <14> they're not comparable. <11> is there any function to calculate bitmasks like isbit(20, 5) = 1? <12> LadyNikon: xml and html are not strictly languages. <14> rixxon: vec <16> :p its one of the main languages even <13> Yaakov: i know <16> heheeheheheheh <13> we just use them all <12> LadyNikon: You will be (unfairly) excoriated for implying so. <11> thank you integral :> <14> Epigram and this latest SPJ paper seem to be my favourite languages ATM <13> i didnt imply them as languages just what else i am learning :p <12> LadyNikon: integral, here, a fine fellow otherwise, is likely to call you all sorts of evil things. <13> meh .. i have been called worse :p <12> LadyNikon: He hasn't called you anything yet! <13> <old joke> just dont call me late for dinner </old joke> <12> LadyNikon: However, he is too much of a gentleman to call you the worst you have ever been called. <12> LadyNikon: On the other hand, he MIGHT call you late for dinner. <13> haha <14> I'm afraid I can't offer much of a supper, just bread rolls, pickle and cheese :-/ <13> sad i found this book after i went out and brought Perl by example <12> Pickles UNDER the cheese. <12> Programming Perl and the Perl Cookbook you SHOULD own. <15> See i see nikon, and all I can think about is mortgaging my soul for a D200 <1> integral: PICKLES?! <14> buu: no, pickle. Branston's. <1> Wtf? <11> integral: so how to use vec for this? with 20 and 5 i want to see if the 5th byte in 20 in binary is on <14> It's a well known brand! <14> rixxon: byte?! or bit? <11> bit, sorry <14> eval: vec 20, 5, 1 <10> integral: Return: 1 <11> :) <14> don't ask me if offset is zero-based :) <14> ok, I'm really finished now :) <11> that doesn't do what i want, vec(20, 3, 1) should also be 1 <11> http://opm.blitzed.org/info#using <14> eval: join ",", reverse map vec(20, $_, 1), 0..8; <10> integral: Return: 0,0,0,1,1,0,0,1,0 <14> it's 0-based :) <14> oh, doh, I see my mistake, woops! <14> eval: join ",", reverse map vec(pack("c", 20), $_, 1), 0..8; <10> integral: Return: 0,0,0,0,1,0,1,0,0 <11> but 20 = 16+4, so 3rd and 5th are enabled <14> there we go! still zero-based. <14> I forgot it worked on bitpacked strings, not numbers :) <1> rixxon: You don't want 'vec' <1> rixxon: Just and the numbers together. <11> blame integral ;) <1> rixxon: That is what you *asked* for. This is what you *want* <11> heh ok, but how do you mean exactly? <1> 1 & 2 & 4 <1> Er, no, | <1> You want to or them. I think? <1> eval: 1 & 2 <10> buu: Return: 0 <1> eval: 1 | 2
Return to
#perl or Go to some related
logs:
#asm failed to load NVIDIA kernel module ubuntu circular directory tree
correct Partition does not end on a cylinder boundary
how long does mkfs.ext3 take? suse install failed error 3030 #egghelp jlime WPA supplicant synaptic keep broken gentoo configure trackpoint -gnome
|
|