| |
| |
| |
|
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
Comments:
<0> anyways post(session, 'cmd', $heap->{data}) and that heap is killed, what will happen to the data? <0> will perl know its still in use? <0> has hashrefs in it and stuff <1> BinGOs: So I can be lazy and it'll get done anyway? <1> I wonder where my old code for that is <2> buu: it appears so. <1> Yay laziness++ <1> BinGOs: Actually now I want to write my own perlmonks with poe <1> It'll be evil. <2> procrastination++ <3> did you know that the username 'root' in unix called that way because his home directory used to be '/' in former days ? <1> But I can't decide how to store trees in dbs. <4> BinGOs: Can you use s/// in list context? <2> I do. <1> nachos: WHAT HAPPENS WHEN YOU TRY IT. <1> BinGOs: What?
<4> i hope it doesnt die <4> brb <2> erm it isn't is it. <1> row: Perl uses ref counts. As long as you have a ref to an item it will live for ever. <1> BinGOs: Isn't what? Huh? <0> buu: lubly jubly <2> dunno. <1> BinGOs: I've seen several methods and they all **** <2> :S <1> Are there any super optimized DBs who do it? <5> what's that function to make a scalar all lowercase? <1> lc <5> ah <4> buu: It doesnt work :-D <5> i thought it was lcase for some reason <0> buu: lets say I send it via post, but want to detach/remove the $heap->{data} from the heap without altering the data its since p***ed on, how would I do that would $heap->{data} = undef do damange to the data I p***ed to post? <1> nachos: Awesome. <6> YOU MEAN ITS NOT STRTOLOWER? <0> must I use dclone? <4> Can't modify array dereference in substitution (s///) at ./s.pl line 5, near "s/e/u/g;" <1> row: Uh, probably not, it's hard to say. <1> row: If you're p***ing references around, you just copy the ref so you can still change it <1> If you arent' you don't <1> nachos: Brilliant. But what does that have to do with list context? <0> buu: I am getting data and adding it like so $heap->{totals}{$2}{$1} = $3; I basicly want to then p*** on totals and reset it as its been dealt with, so I can start fresh. <2> eval: [ s/face/****/g for qw(cunt face); ]; <7> BinGOs: Error: syntax error at (eval 134) line 15, near "s/face/****/g for " <2> blah <1> row: so Yes, p*** $heap->{totals} and then $heap->{totals} = {} <4> not sure, but the suspect line is: @foo =~ s/e/u/g; <0> buu: cool thanks. <1> BinGOs: This isn't python. <1> nachos: Nothign to do with list context. <1> You can not however, do that. <5> perlbot: use CGI; my $test .= $CGI::li($_) for (1..3); <4> but, if im correct, isnt an array list context aswell? <5> eval: use CGI; my $test .= $CGI::li($_) for (1..3); <7> x86: Error: syntax error at (eval 134) line 15, near "$CGI::li(" <6> nachos: no <6> nachos: context is context <5> eval: use CGI; my $test .= CGI::li($_) for (1..3); <7> x86: Out of memory! <5> nice <2> eval: my @array = qw(cunt face); s/face/****/g for @array; \@array; <7> BinGOs: ['cunt','****'] <1> nachos: If the LEFT HAND SIDE is an array it will create list context. <5> BinGOs: can i concat to a scalar like that? <1> But this has nothing to do with attempting to apply the s/// operator to an array. <4> okay. <6> nachos: an array can be mentioned in list context or in scalar context. The left side of a =~ is a scalar context, and one where it makes no sense to name an array either :) <2> x86: sure <1> You know, that actually should work.. <2> eval: my $scalar; $scalar .= $_ for qw(cunt arse mofo ****er); $scalar; <7> BinGOs: cuntarsemofo****er <1> eval: $test .= $_ for 1..3; <7> buu: <1> eval: $test .= $_ for 1..3; $test
<7> buu: 123 <1> eval: use CGI; <7> buu: <1> How odd. <2> eval: my $scalar; $scalar = join ' ', $scalar, $_ for qw(cunt arse mofo ****er); $scalar; <7> BinGOs: cunt arse mofo ****er <1> BinGOs: I sent someone a patch and he hasn't replied yet =[ <8> dear god I need a red bull <6> buu: maybe it's due to the $CGI::li (not &CGI::li) in that snippet? <2> (patch receiving not responding)-- <6> buu: not sure how, but that's weird enough :) <1> hobbs: He took it out of the second one. <6> buu: oh, yeah <1> eval: use CGI; my $test .= CGI::li($_) for (1..3); <7> buu: Out of memory! <4> hurrah my perl testbed directory is growing each day. <1> eval: use CGI; my $test .= CGI::li(1); <7> buu: Out of memory! <1> Huh. <8> nachos: where is it <4> /home/brendan/perl <4> :-D <2> GumbyBRAIN: do I tell *you* how to **** sailors' cocks ? <9> Were i to set the uk's laws are you using? <6> GumbyBRAIN: Well I'm near the end, and I just ain't got the time, and I'm wasted and I can't find my way home <9> And i would prefer a system call (find, perhaps)? <1> BinGOs: My giant dinosaur is shiny. <1> And with that I must leave you. <2> kinky. <10> eval: $^X <7> jpeg: /usr/bin/perl <2> eval: $^O <7> BinGOs: OS/2 Warp <2> buu++ <10> eval: $INC[0] <7> jpeg: <11> You tease, re: OS/2. :( <10> karma buu <10> perlbot, karma buu <12> Karma for buu: -79 <8> no way <10> perlbot, karma buu <12> Karma for buu: -212 <10> same thing <2> I have an OS/2 Warp ISO at home. I must try it with vmware. <6> I'm waiting for an emulator that let me play the music files that came with my copy of Personal Deskmate! <6> (yes, folks, that's Tandy software) <8> I had deskmate <8> it was very useless <6> jkauffman: but it came with Hangman! <8> that was the later deskmate ;) <8> man, that was back when the word VGA made one drool <8> GAMP: hello yahoo employee <6> jkauffman: actually I can see the uses. It had enough rudimentary task-switching ability to support an "alarm clock" app, and the ability to switch between Write and Draw. And load the graphics from one into the other <6> jkauffman: and print it all to your fantastic dot-matrix printer in fantastic black and white <6> (which was a downgrade from the original fantastic blue and yellow) <8> hobbs: what model did you have <13> Aww .. you're making me miss Wordstar 2000! <6> jkauffman: Some variety of Tandy 1000 <8> yeah, I had the 1000 EX <14> jkauffman: where do you work? <6> It had 3.5" drives instead of 5.25" <8> mks_: not Yahoo ;) <8> hobbs: yeah, mine had the 5.25 <8> just one <8> and 256kB <8> later upgraded it to 640! <6> jkauffman: The first music I ever heard out of a computer was "Two-Part Invention in F Major" as rendered by that Tandy <6> jkauffman: and as it turns out, DOSBox's Tandy emulation has improved to the point where I can now play it on my laptop :) <8> haha <8> hmm, I can't remember my first music <8> it was probably from king's quest 2 <8> the lucky ones back then had adlib cards <8> imagine paying $200 for midi
Return to
#perl or Go to some related
logs:
#debian gmeeting chat #suse journal rollforward failed journal out of sync with zone Cippo+meaning libmtp win32 #gentoo centos mysql.so
locked Xauthority DSL
#debian
|
|