#perl
21 October 2007
Total 33 pages. You are browsing page 33/33.
First :: Prev :: [...] [29] [30] [31] [32] [33] :: Next :: Last
23:13 <****> foo: perl -V contains @INC
23:13 <****> f00li5h: Not sure, I don't ask the devs, they just say "fix it." I'm good now, it's working. Thanks :)
23:13 * f00li5h finishes caffinating
23:13 <****> foo: purr
23:14 * foo pops f00li5h with hi spop gun
23:14 <****> o_O is that an euphimism?
23:15 <****> Sorry to disappoint, but you shouldn't jump to conclusions like that!
23:15 <****> jagerman: Is that to me?
23:15 <****> No, to f00li5h
23:15 <****> Oh, ok
23:15 <****> jagerman: =^_~=
23:15 * PerlJam jumps up and down all over conclusions
23:15 <****> Just /nick cute_kitty_17 and get it over with.
23:16 <****> NOW I MUST WORK
23:16 <****> that's incredible hard
23:16 <****> :)
23:17 <****> what i have just asked really when i try to code it
23:17 <****> :)
23:17 <****> No it isn't
23:17 <****> yes it'is
23:17 <****> Keep trying
23:17 <****> No cheating.
23:17 <****> here is the beginning phase and im stucked
23:17 * PerlJam hopes it's going to pastebot
23:17 <****> You'll find a way.
23:18 * jagerman hopes it isn't.
23:18 <****> Not that I want it here, either.
23:19 <****> can some1 help me with a perl script?
23:19 <****> x471x: perhaps.
23:19 <****> x471x: though it will aid communication if you don't use abbreviations such as "some1"
23:19 <****> sorry bad habbit
23:20 <****> another problem is that i try to do it using map not for or foreach and $_ makes everyhing horrible like a nightmare
23:20 <****> TrueFX: So, don't do it that way.
23:21 <****> join #udxad and become hop
23:21 <****> "I'm trying to do this task in a really difficult way, can you please help me without using an easier way?"
23:21 <****> Xtreme_Xray: FOADIAF
23:21 <****> jagerman: <3
23:21 <****> I am trying to make a simple dead link checker
23:22 <****> using the wget --spider command
23:23 <****> So, freshmeat. Do people still use it?
23:24 <****> integral: heh. I'd forgotten it existed until you just mentioned it :)
23:24 <****> x471x, http://www.stonehenge.com/merlyn/LinuxMag/col41.html
23:24 <****> Is there any way to get LWP::UserAgent to use a socks proxy?
23:24 <****> Heh. I got to the "." and was thinking "There's a name I haven't in a while"
23:24 <****> err, haven't heard
23:26 <****> PerlJam: I never really used it :-) But I feel someone hwere maybe should try it, x471x...
23:28 <****> Or, perhaps, WWW::Mechanize
23:33 <****> arg
23:33 <****> no socks support for LWP::UserAgent
23:34 <****> hrm, that's not nice
23:35 <****> so I either 1, setup a proxy that can use socks. or 2, open a socket myself and send my requests
23:36 <****> What exactly is the ampersand for (&)?
23:36 <****> in front of a string that is
23:37 <****> When calling a sub, the & disables some checks and optimizations.
23:37 <****> eval: sub f { return 12345 }; &"f"
23:37 <****> integral: ''ERROR: 2191: Can't find string terminator '"' anywhere before EOF at (eval 238) line 1.
23:37 <****> When calling a sub without parens, the & causes the sub to be called with the current @_
23:37 <****> You'll never see a & directly in front of a literal string as a prefix operator.
23:37 <****> The & is also used to create a reference to a named sub: \&foo
23:37 * Juerd assumes that "string" meant "identifier"
23:38 <****> yeah, it *must* do
23:38 <****> What is the function that I can call from within Perl that will execute a program on the system AND give me back the return value?
23:39 <****> ThatKidKel: system()
23:39 <****> ThatKidKel: unless you really mean "output", then it's qx()
23:39 <****> prakriti: or you can install LWP::Protocol::http::SocksChain and LWP::Protocol::http::SocksChain10
23:39 <****> PerlJam.. I want to call a c program on the system, and evaluate if it returns back anything other than a 0
23:39 <****> ty khisanth
23:41 <****> ThatKidKel: perldoc -f system
23:42 * CPAN upload: Devel-Declare-0.001002 (+ ) by MSTROUT
23:43 <****> Khisanth : have you used it?
23:43 <****> [
23:43 <****> '2x0.41.23.164:1080:::4:383 b/s Argentina',
23:43 <****> '24.2x2.88.160:1080:::4:1155 b/s Argentina',
23:43 <****> ],
23:43 <****> ?
23:43 <****> 2x0? 2x2?
23:44 <****> [ 'blah','blah'] is an arrayref
23:44 <****> Yeah, I understand that part of it.
23:44 <****> [ 'blah','blah'] # I'm assuming that's somewhere in a hash, so you've got a key pointing to an arrayref.
23:48 <****> ok
23:48 <****> i found a document, i understand now
23:48 <****> holy crap it works!
23:48 <****> yay
23:48 <****> woo
23:50 <****> tor++;
23:51 <****> I am having trouble getting perl to bind on an ipv6 socket, I am getting "Invalid argument" although the same code with PF_INET instead of PF_INTET6 works just fine, anyone have any ideas?
23:51 <****> PF_INET6*
23:53 <****> do you have IO::Socket::INET6 ?
23:54 <****> prakriti: also Net::SC
23:54 <****> Khisanth: tried including that too, same error, also tried Socket6
23:55 <****>new(...) as well
23:56 <****> Khisanth: I am not using the OO api, just the regular socket,setsockopt,bind,listen,accept
--- Log closed Mon Oct 22 00:00:37 2007
Total 33 pages. You are browsing page 33/33.
First :: Prev :: [...] [29] [30] [31] [32] [33] :: Next :: Last
