| |
| |
| |
|
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
Comments:
<0> okay, thanks guys it works now <0> cant believe i forgot that :| <1> hey everyone... i need some help on solaris 8, perl 5.03... i wrote a script that referenced INET.pm (works fine on a Linux box), but it didn't work. i copied the INET.pm file into the libs dir, but then it complained about versions. how do you do socket programming on solaris 8/perl 5.03? i can't find anything at all <2> jwise, socket / IO::Socket <1> so just change "use IO::Socket::INET" to "use IO::Socket" ? <2> **** if I know, read the docs :) <1> can't find any docs... i don't have a solaris 8 box.. i just have to make it work :P <2> hahaha <2> jwise, well surely you have docs on the box your developing on <1> guess i'll look it up when i get there <1> i'm developing it on a linux box, then emailing it to someone who installs it on the solaris box <2> running perl 5.03... yay <1> yeah... welcome back to the 20th century <2> indeed <3> IO::Socket::INET works just fine on Solaris <1> argh.. then someone hosed their installation
<1> guess i'll just have to figure it out when i see the box tomorrow <1> Can't locate IO/Socket/INET.pm in @INC (@INC contains: /usr/perl5/5.00503/sun4-solaris /usr/perl5/5.00503 /usr/perl5/site_perl/5.005/sun4-solaris /usr/perl5/site_perl/5.005 .) at ./client.pl line 12. <2> ha ha <1> thanks dude :) <2> anytime :) <1> man i love linux <2> it's ok <1> just cuz it's !unix <2> it ****s less than some operating systems <1> lemme guess... you're a mac guy <2> like.. solaris 8 <2> jwise, hell no <1> ah well... guess i'll learn as i go. thanks for the tips.. have a great evening <2> bye <4> is it possibly to make some sort of script that downloads the url in <location></location> to a specified directory? <4> see: http://pastebin.ca/103028 <5> The paste 103028 has been copied to http://erxz.com/pb/2389 <4> for an example of the xml page. <6> XLVII: yes, parsing XML and downloading things from the internet are possible in Perl.. <4> is it hard to code? <6> XLVII: define "hard" <4> i have no experience with perl <4> and have only used visual basic, which i hated. <6> XLVII: then of course it will be.. writing anything in any language you don't know is hard.. <4> is there a 'tutorial' somewhere to do it? <4> possibly? <6> perlbot tutorial <7> http://perlmonks.org/index.pl?node=Tutorials | http://perl.com/cs/user/query/q/6?id_topic=74 | http://learn.perl.org/ | http://books.perl.org/onlinebooks | http://perl-begin.berlios.de/tutorials/ | http://learn.perl.org/library/beginning_perl/ <6> XLVII: lots of them <4> shucks! <4> thanks. <6> XLVII: welcome <8> has anyone used File::NFSLock ? When one process locks, writes to the file, and releases the lock a second process (different host) competing on the file sees it as empty. I've been able to duplicate this, but always at different intervals <9> "glvgfz" at 129.78.208.4 pasted "Weird commas" (24 lines, 1.7K) at http://sial.org/pbot/18672 <10> Hi all, I'm having a small issue with Perl where I keep getting the commas printed while printing a list. It occurs after a certain sub call. See above <10> any help would be appreciated <3> send_email might be manipulating $, but not properly localizing it <10> You mean some variable like as $_ or $!? Any pointers on what to google for? <3> no, I mean the variable $, <11> eval: local $, = '|'; print "a".."d"; <5> b0at: a|b|c|d 1 <12> hi does anyone know how to get input from a pipe using activestate perl? <11> And you would look at perldoc perlvar to read about that, by the way. <5> Type 'perldoc perlvar' in your shell or go to http://perldoc.perl.org/perlvar.html <3> notqwerty: the same way you do it with any other perl <13> heh <12> yeah I'm having problems with that <12> e.g. dir | test.pl <12> the script <12> while(<>) { print; }; <12> that should do it right? <3> yes <11> You can get a directory listing from within Perl <12> doesn't seem to work with activestate <12> I need to read a piped cmd and parse it <12> the dir is just an example <11> There, dir is a command in the shell, not an executable. That might be the problem. <12> hmm
<12> same script <12> but run with: echo "hi" | test.pl <11> echo is the same deal. <12> The process tried to write to a nonexistent pipe. <12> how would I do it with such commands? <12> or what should I be referencing? <11> There, dir is a command in the shell, not an executable. That might be the problem. <11> oops, wrong window <11> I was going to say that it might be in some other handle... <11> For example, one program (cpau fwiw) prints to stderr or something as the test.pl is printing some delimiters; but <> and STDIN don't get anything <11> cmd.exe is a strange beast <12> hmm ok. <12> time to boot up cygwin methinks <12> thanks for the help <11> Searching perlmonks.org might reveal something, too <12> will do <10> Somni, b0at, buubot: thanks, I finaly figured it out. <14> I've got an array of arrays that I filled from a SQL query. I need to ***ign these values to a hash, where one value of the arrays is the key of the hash, and that hash holds a reference to an array that holds all arrays with that value in that same of their fields. I am sorry to say that I am stumped. Been reading the man pages and trying to pull this off for an hour. <3> what have you tried? <11> %hash = map { $_->[$foo] => $_ } @bar; # ? <14> really? <11> That wasn't a substitute for answering Somni's question <15> is there a way to right a regex that will only recognize unicode characters? <14> Right. There have been several aborted attempts at maps and foreach's and hashes and... <14> None got very far. <16> XY problem <16> What you want is a better SQL query. <14> Hmmm thats not a bad idea <14> I guess I can just select by the field I'm interested in sorting by here <14> and do it as many times as there are unique IDs <16> You're trying to do a join in perl. <16> Do the join in sql. :) <14> or maybe retrieve the IDs I want to group by <16> That's what it's for. <14> then do another query <14> ok cool <14> THAT is great <14> that is what I should do <14> thanks <16> And <16> for the record <16> #perl++ <14> ? <16> And you get credit for being polite to #perl when they sent you over here. :) <14> ;) <16> This is freenode #perl. <11> Yes! <16> The two are not synonmous to those of us who've been in #perl longer than there's been a freenode. <16> Synonymous <11> Well, I've been on IRC longer than there's been a freenode, but not in a #perl that long <11> It smells like home to me <17> s/wil/while/ <16> I think too much typing can lead to depression. <16> Maybe it's a defense mechanism. <14> How's the performance on 308 select queries? <14> on SQLITE? <14> FOr like... 100 records each query/ <14> ? <18> TIAS <3> why are you making 308 queries? <14> There's 308 IDs Im interested in <16> You are <3> and you have to select each one individually? <16> doing this <16> THE WRONG WAY <18> Why 308 separate queries? <16> revdiablo: Because he doesn't know how to write a good join. <18> Or even a bad join, apparently <18> =) <16> Peyomp: You want to learn how to do a join. Now. It's not too hard.
Return to
#perl or Go to some related
logs:
etch /dev/xconsole Infotrend 500126 gentoo accept.keywords attribute onkeyup is not a valid attribute of textbox python os.popen2 flush() #math halcy0n ubuntu #lisp tifftopdf debian smergler
|
|