@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
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



Comments:

<0> Ani-_: maybe YOU can't ;)
<1> rindolf: I can do better. The UK CPAN search shows version 1.05! :)
<2> izut: i use the syswrite stuff you told me to one $sock .. but when i do that with an array of socks the syswrite doesnt return me an error .. syswrite($socksarray[0],"0000") ... what now ?
<3> Ani-_: of Mail-Webmail-Gmail??
<3> s168pin: I see.
<4> blehhhhh: What does 'syswrite() or die $!' says?
<0> Uncle_Jesse: anyway, I don't know of one that does the opposite of Lingua::En::Inflect
<5> the POE::Component::Server::IRC on CPAN is not quite extensible
<2> the or die says nothing, it still try to write to $socksarray[0] ..
<1> rindolf: yes. http://us.cpansearch.perl.org/perldoc?Mail::Webmail::Gmail vs http://uk.cpansearch.perl.org/perldoc?Mail::Webmail::Gmail
<6> japhy: thx
<0> Uncle_Jesse: you could possibly email damian (the author) and asks if he knows of such a project
<0> he might be hiding it in his mad hat.
<7> s168pin: I would suggest going to poe.perl.org and looking at the cookbook.
<7> s168pin: It is the best foundation for a perl-based TCP server.
<8> re



<3> Ani-_: interesting.
<2> izut: listen up i got $sock in my program a.pl which returns error with syswrite() when the remote box is down, in my program b.pl i have the same stuff, but a list of socks in an array @socks .. when i do if(syswrite($socks[0],"test") == 0) { print "not connected"; } so i dunno anymore
<9> Yaakov: thanks
<1> rindolf, not that any of the code changed... but the version did. ( http://uk.cpansearch.perl.org/diff?from=Mail-Webmail-Gmail-1.04.1&to=Mail-Webmail-Gmail-1.05 )
<6> japhy: very good idea - I might try that
<0> blehhhhh: are you sure the sockets are getting into @sock properly?
<3> Ani-_: OK.
<0> that might be the root of your problem.
<2> izut: when using socks in array it doesnt return error, it still tries to write to the $socks[0] ..
<10> argh, what is this supposed to do? $string =~ m/open(.*?)template/
<11> Can I somehow access globally declared variable inside sub ?
<11> my $var = 5; sub test { print $var; }
<3> [algo]: yes.
<3> [algo]: why don't you try it?
<11> hmm it didn't work
<11> my $request = new CGI::Request;
<11> my ($what, $country, $ext_data, $dogtowork, $dog_id, $table) = &params('what', 'country', 'ext_data', 'dogtowork', 'dog_id', 'table');
<11> inside of params there is no $request
<11> is it possible or that's a bug in my brains ?
<3> [algo]: perl -le 'my $var = 5; sub test { print $var; } test();'
<11> ghm
<3> [algo]: it is possible.
<4> blehhhhh: What about '$sock = $socks[0]; syswrite($sock, "bla\n")...'
<11> sorry
<2> sec
<3> [algo]: what is CGI::Request?
<12> so i see there are plenty of various modules to check things like myspace, gmail, etc... (i don't see these in POE though...) has anyone put together a framework to check all your blog,etc sites and put them into a single page for you to interact from?
<2> izut: the box has been switched of (cable unplugged) but the sock is still up and syswrite doesnt report me anything .. but if i do it without array it works
<12> personally, i get tired of people who are only on friendster, or myspace and not hearing from one or the other because i have to log into and ch3eck all those sties seperatly....
<3> boogiemon: XML::Feed
<3> ?
<12> rindolf: cool.
<12> wb tag
<13> tag has lost his tail!
<3> boogiemon: I'm not sure it does what you want. It just aggregates XML feeds.
<12> rindolf: i think i'm going ot have to write what i want. just wondering if someone'd beaten me to the punch.
<4> blehhhhh: First, you can try copy '$socks[0]' to another '$sock' variable, and see if it gives you error.
<13> boogiemon: don't we have enough frameworks yet?
<12> Botje: if no one's already done this yet, i suppose we don't. =-) not that i'm ambitious enough to do an actual framework, i think i'm just going to duct tape a few of those modules together for a happy little page that does what i want.
<12> tag: what's with the nic war?
<14> good evening!
<14> aww, larry left the other channel just before someone asked if the Camel was a good place to learn perl :-P
<9> Okay, I'm playing with an example script.... and got this "Can't locate POE.pm in @INC" I'm using ActivePerl
<3> s168pin: you need to install POE.
<3> s168pin: see the ppm tool.
<14> you'll be running in hell
<9> the download link is dead, can't find anything on activeperl site
<9> ah, PPM
<11> How can it possible that global variable is not seen inside the function ?
<14> [algo]: do you understand that "global" really belong to specific packages?
<14> *globals
<11> I have use params; statement
<15> I've inserted a pl.file into html between <SCRIPT LANGUAGE="PerlScript"> and </SCRIPT> into a HTML ! It seem that the file get as parameter a variable if ( @ARGV > 0 ) { into the function main ! How could I p*** that variable to script ? by using name of the html and ?var=file.svg ? If so how to extract or initiate in the program ARGV = $_GET["arg"] but this is PHP
<11> and I need the variable there
<11> inside sub from this module
<3> [algo]: can you nopaste your code.
<3> perlbot: nopaste
<16> Paste your code here and #<channel> will be able to view it: http://sial.org/pbot/<channel>;
<14> [algo]: but couldn't you just answer my question, please?
<11> integral: yes, I remember things about exporting



<11> and use statement is about it
<14> sure, but you actually have to setup the module they belong to, to do the exporting
<11> in my example I want module to know the variable defined outside it
<17> "ace_me" at 86.104.137.161 pasted "p***ing var" (401 lines, 6.1K) at http://sial.org/pbot/16247
<3> [algo]: so you need to declare the variable with use vars () or our instead of my.
<15> http://sial.org/pbot/16247
<18> sigh
<14> perlbot, coping with scoping.
<16> Coping with Scoping - http://perl.plover.com/FAQs/Namespaces.html
<14> hello sili
<18> p5 needs more declarative functionality
<18> hi.
<14> sili: wait a few weeks for perl6-on-perl5 to hit CPAN!
<18> (pattern matching)++
<17> Someone at 85.140.141.32 pasted "desktop.cgi --------------- us" (20 lines, 330B) at http://sial.org/pbot/16248
<11> that's me
<11> what should I fix for print_text($request); to work ?
<15> so is it possible to use that code and p*** a parameter ? if yes please tell me to learn more or read more
<3> [algo]: you need to do my $request = shift;
<3> [algo]: no wait.
<11> I don't want to p*** $request as param
<3> [algo]: I must say this is bad design.
<11> well, request is singleton
<11> I may put it as static method or whatever
<11> $request suits me for now really
<3> [algo]: try saying our $request = ... instead of my $request = ...
<11> but it doesn't work
<11> a mom
<11> huh
<11> it worked it seems !!!
<11> where can I rtfm about my/our ?
<3> perlbot: coping with scoping
<16> Coping with Scoping - http://perl.plover.com/FAQs/Namespaces.html
<3> [algo]: there ^^^
<11> ;)
<3> [algo]: you shouldn't start your modules with a lowercase character. These names are reserved for pragmas.
<19> izut alive ?
<19> when the connection of the remote box is lost, syswrite() == 0 doesnt work, it still writes to the sock but the box is down.. its very strange, how could that be? timeout is set to 1 second .. :s
<11> how can I use FCGI::FAIL_ACCEPT_ON_INTR flag with CGI::Fast ?
<11> I can use it with FCGI::Request/Accept, but it seems that this flag is off in $request = new CGI::Fast
<20> where is a good place to post a job for a perl programmer in the washington dc area?
<21> jobs.perl.org ?
<4> blehhhhhhhhhhh: Yes.
<21> or a local Perl User Group ?
<19> izut? check PM ?
<22> I'm looking for a robust, canonical example of lock file (UUCP Honey-Dan ber style) semaphore handling with stale lock detection and removal. Preferably it should be NFS and thread safe.
<22> Any suggestions?
<12> webguy: on a telephone pole?
<20> jobs.perl.org is cool ... anywhere else that guys hang
<7> OK! Pico de Gallo is done, in the fridge, onions and peppers are sauteeing in the wok.
<7> Things are ON TRACK BABY
<14> bloody rain
<14> internet++; # allowing me to hide in the library
<22> I guess there isn't an obvious one.
<14> you're talking about UUCP lock files?
<14> I haven't seen one in the wild for years
<22> Well they don't have to be actual UUCP ... but that style
<19> izut?
<14> hmm, I thought the only NFS safe way was using lock directories
<22> A pid file that service to lock access to a resource or prevent multiple concurrent instances of a process.
<22> integral do you know of a good HOWTO?
<14> hah! TAPL is excellent!
<21> Not a File System? locking?
<14> answerguy: I don't sadly. Last time I wanted to research into this I ended up goolging, and reading /usr/src/linux/Documentation
<14> :-(
<10> CAPTAIN!
<10> we get signal.
<14> why haven't anyone like Sun invented a better NFS? oh, wait, stupid question that
<22> I'm a sysadmin and I've been fighting with one of our programmers about why his Perl script is "respawning too fast" on his automounted stuff.
<14> hmm, do you NFS-based lock files actually have to have network wide locks?
<14> if not, linux's flock *does* work on NFS.
<22> No Flipping Security and locking ... such language! And in a family channel!


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #perl
or
Go to some related logs:

asdf cannot find tar command NIL
cycom documentation
gentoo apache File size limit exceeded
#gentoo
ubuntu is not available in any software channel
#freedesktop
onomotapeia
#ai
#math
macosx pyreadline



Home  |  disclaimer  |  contact  |  submit quotes