| |
| |
| |
|
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
Comments:
<0> etc <1> japhy? <1> JAPHY!!! <2> alright thanks <1> OH NO JAPHY IS DEAD! <3> DING DONG THE JAPHY IS DEAD <4> PARTAY <2> integral, you sure its on safari? <0> Termy: no. <0> I *still* done have my account <4> juse sue it! <5> Oh, no wonder this wasn't working: map { "$_KB" } @foo; It was trying to interpolate $_KB :P <6> Greetings perlers <4> \ <4> no no <4> .
<4> no <4> sprintf <4> no <4> .. <4> {}! <2> integral, :( I dont think it is <5> eval: @foo = qw(457 567 890); print @{[map { "${_}Kb" } @foo]}; <7> eggzeck: 457Kb567Kb890Kb 1 <0> :-( <6> Quick question, before I spend the next two days searching cpan, does anyone knows by memory of a CPAN module to hanlde /etc/p***wd and /etc/shadow ?? <5> eval: @foo = qw(457 567 890); [map { "${_}Kb" } @foo]; <7> eggzeck: ['457Kb','567Kb','890Kb'] <4> eval: @foo = qw(457 567 890); print @{[map { $_.Kb } @foo]} <7> sili: 457Kb567Kb890Kb 1 <4> you don't even need quotes! <8> Lars_G: I think the built-in getpw* functions handle that. <2> anyone know of an ebook site where I could possibly find Perl/Tk? <4> nublets <4> Termy: google <6> yrlnry: Maybe but I also need tools for adding/deleting users. <4> maybe on safari <2> sili, I only ask to decrease the amount of time wasted ;) <8> Lars_G: FlatFile.pm will do that. <0> Termy: umm, remember not to do anything ILLEGAL and which would INFRINGE INTELLECTUAL PROPERTY RIGHTS! <5> sili: You need to learn Perl. <2> Of course not :) <4> Termy: we have lives, too... sometimes <6> yrlnry: I'll look for it. thanks <5> :P <4> eggzeck: hater. <5> haha <2> sili, ;) You're on the channel, I ***ume you have the time <4> Termy: nope, i've spent it all talking about time with you. <2> integral, of course not... Just ... borrowing.. <4> cya <5> hahahaha <9> what's the deal with this lame junoscript-perl module always attempting to get installed but never installing via cpan? <9> its starting to really make me mad. <5> Don't get mad at cpan for your lack of understanding. :) <9> I'm not mad at cpan <9> I'm mad at junoscript-perl <9> I never asked to have it installed. I never gave it as a dependency allowed to be installed. I don't need it <9> why is it attempting to be installed? <9> I've seen others having the same problem...I'm curious if anyone has figured out the delima. <9> s/m/mm/ <8> dilemma. <8> It's "di-" because there are two choices, both of which are bad. <0> GumbyBRAIN: lemmings! <10> http://twiki.org/cgi-bin/mjd/traumaid/diagnosis?likelihood+plus+895. <9> yrlnry: thanks. :) <11> "bobk" at 69.74.41.252 pasted "grep treating @array a an RE" (59 lines, 1.9K) at http://sial.org/pbot/18328 <2> Perl in a Nutshell 38 used & new from $0.82 <2> Its like a really big gumball :) <0> check the edition! <2> Its like a really big, old gumball <8> bobk: I suspect you want grep(/\Q$_/,@story) <9> sooo <9> nothing on the junoscript-perl? <9> nobody else has experienced this? <3> bobk: foreach (@searchterms) { ... grep /$_/, @story } << how is that supposed to work again? <8> bobk: /$_/ means to use the current contents of $_ as a regex. If $_ contains symething syntactically incorrect, you get an error.
<5> bobk: The error means the regex is invalid. If you REALLY need to use $_, use eval { /$_/ } to trap any errors. <1> cloaked: STOP SAYING INSTALL <9> nm on the cpan thing <9> I think I might have found the answer <1> cloaked: cpan MODULE <1> not cpan install MODULE <1> install installs install <0> Read the docs! man 1 cpan! <12> Any change to get (((($1)*256+$2)*256+$3)*256+$4) ($1-4 are octets from IP address) converted in to hex without using big int? <9> Yaakov: yup. <9> lol <13> eggzeck - true that is what it means - but it's reporting the data in an array element as the RE <0> rsc: unpack("H8") ? <9> thanks Yaakov. <5> bobk: and my (@foo); the parenthesis are unecessary <0> rsc: I don't see why you need a bigint though <0> a uint32_t is big enough <1> cloaked: Sure. Any time I get to TYPE IN UPPER CASE is great. <9> =) <3> rsc: that is ****ing horrible. use inet_aton or somesuch <5> bobk: Did you read what yrlnry said? <9> Yaakov: I am glad I was able to give you that opportunity! :P <12> integral: cause hex() around the first reports "Integer overflow in hexadecimal number" <1> OH, I DO IT ALL THE TIME <13> !!! light goes on !! <3> hex goes hex->dec <13> got it <0> rsc: wtf? hex doesn't output hex! <3> you want dec->hex, so use sprintf. <0> rsc: try using the correct function moron. imbecile. <13> much thanks all <1> mangle: < cloaked> Yaakov: I am glad I was able to give you that opportunity! :P <7> < cloaked> Yaakov: I am exalted I was effective to fold up him that indeterminateness! :P <0> rsc: of course inet_aton is better. <9> =P <12> integral: inet_aton is hex-capatable? <0> huh? <12> okay, it isn't. Just was wondering when you suggested inet_aton... <5> bobk: You could even do this: push @foo, grep { /$_/ } @bar; <12> integral: thanks for pointing me to that. Works now :) <13> fixed it (looks like) instead of using the $_ in the foreach, use foreach $term (@terms) <13> didn't really need the $_ <0> I DIDN'T botje did. <13> and missed that the $_ inside the grep gets diff val <3> integral: yes you did! <0> hrm, coins that depreciate in value <0> mangle: depreciate of coinage <7> bring into discredit of neology <0> *depreciation <14> any suggestions on how about traversing a directory and searching for specific file types? <14> (in windows) <3> File::Finder <14> That function will allow me to go search A directory for B types of files? <5> File::Find <15> File::Find::Rule <3> blutkind: look at the cpan page for it. <14> perldoc? <15> (File::Find comes with Perl, the other two suggestions are on CPAN) <5> blutkind: perldoc File::Find <7> blutkind: Type 'perldoc File::Find' in your shell or go to http://perldoc.perl.org/File/Find.html <5> Yeah <14> already got it open <14> thanks for the suggestion :) <5> (s) <16> I need to sort an array of dates, how can this be done in perl? <3> xp_: preferably with the sort function. <3> and some kind of function that determines if a given date is before/after another. <5> sort { $a <=> $b } @foo; <5> ***uming the dates are numerical <5> and in the correct format <16> can you make your own comparison function? <3> ehm, yes?
Return to
#perl or Go to some related
logs:
#css netfilter throttle #gentoo divide the function by its derivative
DWL-122 FC5 Driver
export from KMail FreeBSD Kubuntu sound volume snort regular expresion snort tcpserver Pico -w qmail #css
|
|