| |
| |
| |
|
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
Comments:
<0> "Afdeling ink***o"... Heh, so the "Ink***o-Unie" has a *department* for their main business? <1> No <0> crapweasel: Please pretend, if even only on IRC, that these things are called FIRST NAME and LAST NAME? <1> Ink***o-Unie has a department for Ink***o and for Unie <1> :p <1> Juerd: I'll change the variables. ;) <0> Optionally enclosing one or more MIDDLE NAMEs <2> randname("first", map {ref ? $_->firstname : ""} ($mother, $father)) <1> Nah, middle names are in the back names. <3> hello <1> hello <4> hello <5> hello <6> hello <2> ARGH! <7> AHh yes. mailman day
<8> hello <7> when the 45 mailing lists all tell me "yes, you're still on them" <0> Botje: As "" is probably stupid, and $_ in this case being true but not an object certainly is, randname(first => map { $_ && $_->firstname } $mother, $father); <5> Juerd, hardly abuse. <4> lol <3> those who said hello are respect able persons!! <0> merlyn: Hence my explicit reference to my not minding ;) <2> Juerd: I'd rather not ***ume his randname function doesn't crap out with undef :) <1> Juerd, Botje, the only thing it does with those variables is checking if the random name it got are not equal to these arguments <1> to prevent mother, father and child to have the same name. ^_^ <0> crapweasel: Like what, Barry? <7> they *could* <7> Tony, Toni, and Tone <0> It'd certainly be funny. <0> I once met twins both named Kevin. <7> I once met a girl named Randi Schwartz <7> that'd be funny to have married her. <0> Must be annoying to have a brother with the same name as you, who even looks exactly like you. <1> lol yes <1> like <7> did the dad work for Xerox? :) <0> merlyn: HAHA <0> Not that I know <0> Nah, this was at some summer camp. There were two weird name cases. <7> instead of making a copy of his ***, he was making a copy of his (censored) <1> I know the difference between you two, John has a birthmark there and John doesn't... <0> One guy was called K. Pronounced "k", not "kay" or "kaa". <0> And these twins. <0> Try shouting "k" without any vowel. <0> Not possible, and very frustrating. <0> So after the first day, people started calling him Karel. <9> carol <0> afk <10> what's a quick way to create a hash based "reverse" array? <11> linuxnohow: '"reverse" array? <5> linuxnohow, what? <10> %foo=(asdf=>0,fdsa=>1,etc=>2); <10> but i want to just specify the keys and have the indexes be calculated for me <11> linuxnohow: %foo = map +($a[$_] => $_), 0..$#a <0> linuxnohow: map { $foo[$_] => $_ } 0..$#foo <10> ahh <10> thanks :) <0> Why do you want this? <10> various reasons. mostly to reduce maintenance of an IOO <0> Ahhh <0> Again IOO causing extra work. <11> the array is an array of video card DAC timings, and given a clock, you want to look up its index? :-p <5> IOO? <10> perlbot IOO <11> inside out objects. <10> perlbot IOO is Inside Out Object <12> added IOO to the database <13> crapbuster <2> jetcob? <13> That was totally not what I meant to do. <0> wolverian: You know, fixing a tiny problem introducing many new ones <5> Juerd, :)
<11> let's just retrofit a metaobject system on perl5, extensible syntax, and fix this mess. <11> (hmm, bless $obj, $meta_object, where $meta_object is blessed itself...) <0> integral: Patches welco... oh, no, they're not <11> it doesn't work when people refuse to integrate any patches, and insist that if you want to fix stuff, that *you* become maintainer. <0> Is sores English? <14> yes <5> integral, isn't that Cl***::MOP? :) <0> Neat. <0> I thought open sores was a Dutch joke. <11> wolverian: but it has no support from perl! I guess it performs slightly slower than moll***es. <0> (And this is the point where typically some Jew enters the discussion explaining that it's actually Hebrew or Yiddish) <5> integral, that's why we're doing that whole perl6 thing, you know. <14> someone explain that slower than mol***es thing again please? :P <15> how do I get the whole of <> into one scalar variable? I don't need it as an array <1> argh <0> StevenR: use File::Slurp; <5> StevenR, see $/ in perlvar, or join <5> or what Juerd said. <11> wolverian: "we" <0> integral: Yes, in Perl 6 world it's acceptable to say "we" if you contribute. <5> integral, "we" as in "some people"? :) isn't that normal usage? <1> now it says $loglvl is undefined, when at the top of the file is 'our $loglvl = $main::loglvl', and $main::loglvl is set in main.pl using 'our $loglvl = 2' <11> Perl6 Recipe: take 1 octopus. Each grab a arm. Pull (any direction). Wait until in pot... <5> (yes, I've contributed a few tests.) <0> crapweasel: lvl <11> "we" seems to suggest one bundle of people, all pulling the same way... <1> Juerd: Don't zeur about my variable names, please! <0> juerd@etajx:/usr/share/dict$ perl -ne'print if /^l[aoeui]+v[aoeui]+l$/' american-english <0> level <0> ****. <11> "american-english"?! <0> integral: Name of the file. <5> no, **** couldn't have been there. <11> We need European Standard English! <0> integral: Ni bezonas Esperanton! <7> Esperanto! <5> lojban! <0> Lojban sucxas! <1> now what is the problem !? <0> crapweasel: lvl <0> crapweasel: I stop reading when I see that, so I never get to see the thing you consider a problem. <1> Juerd: lvl can't be any problem. if I spell it $loglevel then the problem will stay <0> crapweasel: Sure, but then maybe I can help you. <1> *hgnh* <0> First, I will go to the toilet, and use it. <6> hello <7> the three stooges plus one! <1> Okay, Juerd, I changed $loglvl to $loglevel, now what did I do wrong? <1> Use of uninitialized value in numeric ge (>=) at Humans.pm line 19, <NAMES> line 22. <7> stop impersonating a programmer. :) <1> print "A new human has been born!\n" if($loglevel >= 1); <15> thanks Juerd, wolverian <1> but it _has_ been initialised <1> our $loglevel = $main::loglevel; <1> our $loglevel = 2; <1> last line in main.pl <7> your use of "our" is already problematic <7> why the "our"? <7> shades of "global variables" <7> globals are evil. :) <6> i got a new cow!!!! <4> If i have sub bad_func { die "I'm so dead!"; } and I do "bad_func() or die 'My Error Message'", then "I'm so dead!" gets printed. I'd rather have "My Error Message" be printed though... is there any way to do this? <5> rutski89, perldoc -f eval <16> The perldoc for eval - is at http://perldoc.perl.org/functions/eval.html <4> cool <5> particularly the eval BLOCK version. <4> yup <15> hmmm...I'm trying to make a regex to convert all odd characters to the %20 style equivalent used in URLs... I've got as far as $buffer = /[^A-Za-z0-9]//g but I'm not sure what I need in the second part of the substitution. What should i use? <7> StevenR - why not use the right modules? <7> are you trying to build a URI? use "URI" <7> are you trying to fetch a GET request? Use LWP::Request->get
Return to
#perl or Go to some related
logs:
#linux who likes ubuntu #php ./bootstrap permision denied gentoo xfce4-svn 5100cn fedora #math invalid compressed format kubuntu not syncing vfs unable to mount root fs on unk radeon9200 ubuntu drivers #perl
|
|