@# 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



Comments:

<0> i drive a buick rgil
<1> hmm this is odd
<1> I'll pastebin it...
<2> you keep both in the kitchen too
<2> so yeah... a gril is alot like a grrl
<3> I keep my gril outside.
<2> yeah... lots of guys do... i cant say i blame you
<4> tinny: you have to configure cpan to install to a local directory if you are not installing to the global directory(which would require root/admin/whatever it's called on a mac permission)
<0> how do i configure it to install to the global place?
<5> "sdakota" at 82.168.141.105 pasted "Odd thingy in Parallel::ForkManager" (49 lines, 1.4K) at http://sial.org/pbot/15988
<1> What did I do wrong?
<4> tinny: that is the default
<0> neither man cpan nor perldoc cpan give info about how to get it to put the stuff into the global place
<6> The perldoc for cpan - is at http://perldoc.perl.org/cpan.html
<7> sdakota: nothing?
<4> but you MUST have to have enough permission to write to those places



<7> sdakota: I think it's your expectations that are wrong.
<0> sudo cpan XML::Excel.. did that
<1> PerlJam: I expect master.pl to start the listener and then the writer, and then exit...
<1> PerlJam: Did I expect wrong?
<4> tinny: and did you look at the output of that and where it installed to?
<0> no
<0> but shouldn't my perl script just need to have "use XML::Excel;" to benefit from the module?
<8> how can i redirect stderr to stdout using file descriptor? e.g. ls 2>&1 ?
<0> i just want all perl modules to go to whatever place lets me just do "use Module::name"
<7> dogmeat: perldoc -f open
<6> The perldoc for open - is at http://perldoc.perl.org/functions/open.html
<9> rectify your CPAN configuration, build settings, @INC, and @INC permissions on your systems, tinny
<0> how should I use cpan to have it install to the place where "use ::" in a script?
<10> what?
<9> that depends on your CPAN configuration, build settings, @INC, and @INC permissions, tinny
<0> ok, where's the config file for CPAN, where's the build settings, where's @INC
<10> i usually don't mess with defaults
<11> perl -V reports the contents of @INC
<10> they work pretty well
<0> i'm sure I didn't mess with them either
<11> tinny: do you have administrative privileges on the machine?
<0> pretty sure I do
<11> if so, install the modules (via CPAN.pm) as root, and they'll go into one of the @INC directories
<0> or do I need to hack a true root onto this os x machine?
<4> tinny: well it can't benefit if the installed failed!
<11> you just need writing privileges to the @INC directories
<11> however it is you do that, do that.
<0> whi is it in /Users/tindrum/.cpan/build/XML-Excel-0.02
<10> that's not part of @INC
<0> i want it in /usr/bin/perl/ or somewhere central!!
<4> tinny: it didn't install it there
<0> why does sudo cpan XML::Excel not put them where I want.. no, how do I tell cpan to put them where I want
<10> cpan -i
<10> where does it put them?
<4> sili: he didn't bother looking or checking that the install didn't fail
<10> eh
<0> it puts them in /Users/tindrum/.cpan/build/XML-Excel-0.02
<10> i'll stop listening
<10> tinny: not really.
<0> it didn't fail
<10> that looks like the build directory.
<0> after i did sudo on the command, it was able to make it's directories
<9> 'hack a true root' ? huh?
<10> give up
<10> confusing
<0> i don't know the details, but i heard on os x machines, root is not available by default, you run a little command to enable it
<9> no, you should never "enable" root on OS X. Use sudo.
<11> tinny: you need to INSTALL the module, not just BUILD it.
<11> sudo cpan -i My::Module
<11> that should do the trick
<4> japhy: unless someone messed with the cpan config
<9> sudo -H cpan -i My::Module # safer, does not use user home directory
<1> PerlJam: ?
<0> thank you
<0> i kiss you all
<1> eek
<12> Has anyone figured out how to set localaddr using SOAP::Lite? I setup an api account with a company and i used the wrong ip, my default outbound is different than the one I gave them.. thus it won't work..
<12> for clientside
<0> ok, no kiss, just free movie p***es then
<11> lakez: you want to have the SOAP server's outbound IP address different from eth0?



<12> japhy, i've got 10 ips on my machine, my default ip is different than the one i subscribed to with a company.. so when i go to connect, it uses lets say 100.100.100.100 .. instead of 100.100.100.110
<12> I dunno how to get the client to use an ip
<11> lakez: oh, you want YOUR outbound connection to the SOAP server to be on a specific IP
<11> because the SOAP server only expects incoming requests from that particular IP?
<11> that type of deal?
<12> yeah
<12> server is expecting a certain ip and my machine defaults to the first ip
<12> like : @LWP::Protocol::http::EXTRA_SOCK_OPTS = (LocalAddr => $ip);
<11> right
<11> hrm
<12> I just can't figure out how to do it with SOAP
<12> SOAP::Lite
<1> hmm
<11> I've found the SOAP::Lite docs not too helpful on a lot of issues
<1> how to make a string of a fixed length? For example, if a string is "Administrator", make it "Admin", if it's "Lol", make it "Lol " (with 2 spaces), so always 5 chars?
<11> a lot of "TODO"
<1> can I do that with sprintf?
<11> sdakota: sprintf("%5.5s", $str)
<1> Okay, Thanks a lot, japhy
<4> japhy: aren't you missing a " "?
<11> khis - hrm? %s pads with spaces by default, I believe.
<11> eval: printf "<%5.5s>", "see?"
<13> japhy: < see?> Return: 1
<11> eval: sprintf "<%-5.5s>", "left"
<13> japhy: Return: <left >
<1> hmm, japhy, that seems to make a space at the beginning
<11> sdakota: yes, so look at my SECOND example
<1> japhy, so I just remove the s?
<11> no, that was printf vs. sprintf
<11> ignore that
<11> look at the format string
<1> eval: printf "<%5.5s>", "test";
<13> sdakota: < test>Return: 1
<11> oh, sorry, third example.
<1> japhy, Third?
<11> eval: sprintf "<%-5.5s>", "left"
<13> japhy: Return: <left >
<1> I only see two
<1> Oh
<14> If I apply the /m flag to a match regexp, it makes ^ and $ beginning and end of any line, rather than of the whole string.... How can I match the end of the string itself, with /m in effect?
<1> eval: printf "<%-5.5s>", "left"
<13> sdakota: <left >Return: 1
<11> LeoNerd: \z
<1> eval: printf "<%-5.5s>", "leftz"
<13> sdakota: <leftz>Return: 1
<1> eval: printf "<%-5.5s>", "leftzorz"
<13> sdakota: <leftz>Return: 1
<1> eval: printf "<%-5.5s>", "lef"
<13> sdakota: <lef >Return: 1
<1> funky
<1> thanks, japyh
<1> japhy*
<14> japhy: ahh.. Wonderful, thanks
<11> lakez: it looks as if you have to use the SOAP::Transport::TCP::Client module explicitly
<1> Funky, my logging thingy works :-)
<12> ok i'll look for a sample in the docs.. thanks man for the direction.. it's been a long standing problem
<11> oh, wait, lakez
<11> bad news.
<11> oh, nevermind
<11> I missed something
<11> yeah, you'll have to create the SOAP::T::TCP::C object manually
<15> What?
<11> and p*** it LocalAddr => ...
<1> SOAP::T:TCP::C?
<1> whoa
<1> freaky
<11> I didn't want to type the whole name ;)
<11> that's what this IRC client needs. Perl module tab-completion
<15> haha
<11> SOAP::T-tab
<11> [thinking]
<11> [thinking...]
<11> [100000 entries displayed]
<16> mmmmmm SOAP


Name:

Comments:

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






Return to #perl
or
Go to some related logs:

#php
PyInt_FromInt
xcalc rpm fc5
#linux
#css
daemonttols
select queries background mysql high load
crashdummyMCH
countryelements
#perl



Home  |  disclaimer  |  contact  |  submit quotes