| |
| |
| |
|
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 37 38
Comments:
<0> http://rafb.net/paste/results/8Rx7wW75.html <1> The paste 8Rx7wW75 has been moved to http://erxz.com/pb/1304 <0> that's what i'm getting <2> kernal, huh? <0> $poe_kernal->delay('screenshot', 10, $heap, $nickname, $process, $browser, $kill); <0> thats how i call it <0> it's not getting to that part though <3> $poe_kernel ? or is $poe_kernal a local var? <0> i don't think so <4> exported. <3> al vs el <0> $poe_kernel->run(); <3> POE exports the el version <5> el <0> thats how i use it <3> bnovc: but it is spelled incorrectly
<0> oh, hah <0> seems like odd errors for that <6> php is weird <3> bit really considering $poe_kernal shouldn't exist unless you define it <0> i didnt <2> well then <5> HellDragon: ruby is weird <0> after i corrected my spelling i got the same error <6> creating021: yean <6> ruby is sooo weird <6> harder than C++ <6> and its poo <3> bnovc: do you have a 'use POE;' in that file? <5> yea <0> pravus, no but it's being included by a file that does? <6> poo like the thing u make in the toilet ;) <3> bnovc: try it with 'use POE;' <0> k <5> HellDragon: aspect orinted = Ruby <0> pravus, same thing <2> creating021: HellDragon: Why do you have to be complete idiots _here_ ? <3> bnovc: something else is wrong then <6> OMG SL IS POOP <7> ooooooooh, POOPIE! <8> hi all.. how do I get the POST data in a perl script? <3> fesioux: probably by using the CGI module (perldoc CGI) <1> CGI. To access this perldoc please type, at a command line, 'perldoc CGI'. You may also find it at http://perldoc.perl.org/CGI.html <8> thanks! <0> pravus, it errors when i remove the poe_kernel line too <0> so i would ***ume i have something else wrong <3> sounds like it <3> are you talking about all of the other errors? those looked like you were using strict but not defining variables properly <9> what is the module to find words with similar pronuncations? it was mentioned in the camel book I believe, by Wall... but I can't remember the name, any ideas? it ended in -ex, if I recall correctly.. <3> soundex? <9> pravus, yes! that is it, thanks. <2> jeff2: there's also Metaphone, which is probably better <8> isn't there any more straight-forward way instead of using the CGI module? (something similar to php's $_POST ) <0> i fixed those errors <3> jeff2: you are lucky... Oracle has that function :) <0> triggers.pl did not return a true value at aim_trigger.pl line 10. <0> is what i'm getting now <3> fesioux: NO! <0> when i uncomment the poe line <2> fesioux: that's not straightforward, it's broken and intrusive :) <0> $poe_kernel->state('screenshot', \&screenshot); <3> fesioux: Perl is not PHP... don't think of it in terms of PHP <0> no more errors than not returning true <8> haha ok, sorry for saying PHP here!! it is probably a say-it-three-times-and-you're-kicked word =) <3> bnovc: the module when it loads? add "1;" at the end <0> pravus, i have 1 at the end <0> it works when that line is commented <0> er maybe id on't have 1 anymore <10> fesioux: What's not straightforward about using the CGI module, anyway? <3> fesioux: no, but it is important to note that Perl and PHP occupy two different solution sets (though they overlap) <3> fesioux: therefore, the perl way is different because it is designed differently <8> yeah.. i see.. <8> revdiablo: I was looking for something easier like just printing the "header: content-type" at the beginning and then go outputting html... instead of the OO approach the perldoc cgi suggests <3> fesioux: you are spoiled because you have used mod_php... PHP does much of that for you <3> maybe mod_perl does as well (not sure, never used it) <10> fesioux: I don't think CGI is very difficult <2> fesioux: you can do that ust fine
<11> but god will kill several kittens <10> fesioux: Oh, if you're talking about generating HTML using CGI's functions... then I agree. That is terrible <2> fesioux: the CGI methods let you get data from the server, and simplify some tasks of generating output. But you don't need CGI.pm to do CGI <2> fesioux: and when it comes to its HTML-generating code, don't use it <10> fesioux: I usually advise using the CGI module to handle the input, and using templates for the output <8> ah ok... <8> it is because the perldoc does some strange stuff to output html via the cgi module <3> yeah, i wish they had a module for *just* parsing the CGI vars, but meh <10> pravus: There are several on CPAN <0> pravus, are you sure you can just do delay('abc', 5, $p1, $p2...)? <10> pravus: But CGI.pm is standard distribution, so that's what most people use <8> so you suggest I use cgi module to get the input, and then just print the output .. <0> all of my variables appear to be coming through as the first one <3> bnovc: according to my understanding of the POE::Kernel perldoc <0> i shouldn't put them into an array first? <3> revdiablo: yeah, i'd like something in core... but again, meh <3> bnovc: i wouldn't think so <10> fesioux: Yes, just print the output. But I generate the output with templates, rather than embedding HTML in double quotes. <3> bnovc: look at the POE::Kernel perldoc for delay() <0> pravus, i have been and that seems to be how they do it, with an array instead <0> they write @params <12> anyone here have an IPOD working in linux? <3> i mean, you could put them in an array.. but that's a waste <12> gtkpod seems to be almost worthless, it doesnt work very well for me <10> bitwise: Yes <10> bitwise: That seems a bit offtopic here, though =) <8> revdiablo: ah ok... which templating system would you suggest? <10> bitwise: gnupod seems to work fine for me <3> bnovc: $kernel->delay( $event, $seconds, @event_args ); <0> right <10> fesioux: HTML::Template is very simple and fits in my brain well <0> so wouldn't i have to make an array of params and not just comma them in? <3> ok, so what happens to an array that is p***ed to a sub? <0> pravus, ah, it just linearizes? <13> it's flattened <10> Smashed into a list <3> is (1, 2, 'a', 'b') equivalent to: @a=('a', 'b'); (1, 2, @a) ? <10> Bwammo <10> yes <2> It's log! From Blammo. <0> pravus, i didn't know that it was before <13> (1,2,(3,4)) == (1,2,3,4) <12> revdiablo, does gnupod allow for video? <3> yes, it is... except that the second one is not necessary <3> in most cases anyways <3> bnovc: you are probably thinking about array refs <3> which are a *whole* different animal <10> bitwise: Ah, not sure about that. For video I usually break down and use iTunes in Windows... dealing with all the video conversion and whatnot in Linux makes my head hurt <14> hi ! how to can protect a special character on scalar <10> Onyx-le-chat: Protect? <14> hum <10> Onyx-le-chat: What do you mean by protect? <14> " c'est" <14> to put ' on " " <10> I don't understand <14> sorry :( <0> $nickname and $browser are shown as POE::Session=ARRAY(0x89d8954) <0> using...my ($heap, $nickname, $channel, $protocol, $process, $browser, $kill) = @_; and $poe_kernel->delay('screenshot', 10, $heap, $nickname, $channel, $protocol, $process, $browser, $kill); <10> bitwise: They are POE sessions <0> they're definitely that before being called <2> bnovc: yh... <10> Err <10> bnovc: They are POE sessions <0> revdiablo, they shouldn't be though <0> they're not when i call ->delay with them <10> Gah, this parking ticket I got has a website to pay, but the website says my citation number is invalid <10> Me smash! <3> revdiablo: figures <14> revdiablo:~$ I speak badly English <2> revdiablo: the website says you have no ticket, so don't pay ;) <10> Oh, the "citation number" includes the "RP" prefix. But while it's in uppercase on the ticket, it needed to be lowercase on the website <10> How very convenient <6> revdiablo is poop
Return to
#perl or Go to some related
logs:
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-mis #gentoo #python alsa VT82 installed apache13 php4 ubuntu how to mount sata ntfs ubuntu #qemu libata_atapi_enable vector linux root login #ai
|
|