#perl
15 November 2007
Total 21 pages. You are browsing page 1/21.
First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last
--- Log opened Thu Nov 15 00:00:03 2007
--- Day changed Thu Nov 15 2007
00:00 <****> Buffering?
00:00 <****> OK.. Who broke PAUSE?
00:00 <****> PAWS?
00:00 * CPAN upload: Text-Pipe-0.03 by MARCEL
00:01 <****> Perl Authors Upload SErver.
00:02 <****> The place new perl modules get put. Only, it seems just to be slow. It's working now
00:06 <****> LeoNerd: there seems to be some general internet latency issues this morning .. thing slowing to a crawl for a couple of minutes at a time
00:06 <****> Hrm..
00:09 <****> how do you specifiy to print to console?
00:09 <****> How could I succinctly apply a pattern match to each element of an array, returning true if 1 or more elements match? Thanks
00:09 <****> I think my prints are getting lost during a file write operation
00:09 <****> print STDOUT .. ?
00:10 <****> RustedGod: grep in scalar context gives the number of matches
00:10 <****> hmm no
00:10 <****> my $n = grep /.../, @list;
00:10 <****> anno-, that's what I had.. just it looks a bit messy :P
00:11 <****> anno-, ah, well it was in the conditional of a while()
00:11 <****> only if the regex is messy
00:11 <****> anno-, yeah, it is a bit.. but I think that's probably still the best way to do it. Thanks
00:16 * CPAN upload: Text-Pipe-Translate-0.01 by MARCEL
00:16 * CPAN upload: Socket-GetAddrInfo-0.01 by PEVANS
00:16 <****> Yays :)
00:16 <****> does the icq perl modul still work?
00:17 <****> TIAS?
00:17 <****> http://search.cpan.org/~jmuhlich/Net-ICQ-0.16/lib/Net/ICQ.pm
00:24 <****> Does ICQ still exist?
00:25 <****> Sup hackers...
00:26 <****> Woosta: Yes.
00:27 <****> alberta alberta, why you done me wrong.
00:28 <****> Hi, I have a wireshark log file and want to write a dissector for a certain tcp-based protocol; multiple GB might be transferred over a single connection, so I can't keep all of the data in memory; it needs to run on Win32; there seem to be several modules on CPAN for this task, can anyone make a recommendation on which to use?
00:30 <****> argh, i'm trying net::oscar, and i set it up and all that, and it goes through the do_one_loop, but it never seems to sign on, any idea why?
00:31 <****> is there any way to have a working icq connection with perl?
00:32 <****> blacklotus89: possibly with Net::OSCAR, i'm working on something like that also
00:33 <****> i'm not sure though
00:33 <****> hmm oscar :/ is a bit ugly isn't it?
00:33 <****> but i will check it out
00:33 <****> it's okay i guess
00:33 <****> the newest version is 1.925?
00:34 <****> hmm anyway thx chuck
00:36 <****> and yeah thx chuck it works
00:36 <****> Any particular reason why running a script with DProf would result in errors about uninitialized values, while running it without works just fine?
00:37 <****> dngor
00:37 <****> Perhaps DProf implies 'use warnings' and you're not using warnings explicitly otherwise?
00:38 <****> dec: I thought about that, but no dice.
00:40 <****> Any objects with overloaded operations (e.g. STRINGify) that only get invoked this way?
00:40 <****> la la la
00:41 <****> Ook. Oook.
00:41 <****> chuck: just one question how to check the current status?
00:41 <****>visibility or what?
00:44 <****> hi, I'm confused about the system function. I use it like so: my $rv = system( "mkdir $mydir" );
00:44 <****> argh, don't
00:44 <****> but $rv seems to always report error
00:44 <****> what's in $rv?
00:45 <****> 256
00:45 <****> ergh
00:45 <****> what's wrong with mkdir?
00:45 <****> this is just a test
00:45 <****> the mkdir function had similar problems
00:45 <****> 8
00:45 <****> mauke: 1
00:46 <****> Andy---: what's the error message?
00:46 <****> mauke, I did the shift and got 1 as well. I was under the impression that non 0 return values are error
00:46 <****> right
00:46 <****> you said mkdir() also fails; what's in $! then?
00:47 <****> are you looking at perldoc -f system?
00:47 <****> "x" at 71.6.194.243 pasted "x" (1 line) at http://erxz.com/pb/5277
00:47 <****> I was looking at the perldoc web page
00:47 <****> let me check on $!
00:47 <****> also if it fails or not I always get 256 as a return value
00:47 <****> andy, after mkdir(), not after system(...)
00:48 <****> perlbot: karma Andy---
00:49 <****> Andy--- doesn't have any karma
00:49 <****> creation:0 File exists
00:49 <****> Wlel there you go.l
00:49 <****> anyone in here using or is very familiar with fedora core 6 + perl
00:49 <****> Oh no, not rxdeath__ again.
00:49 <****> I removed the directory before running
00:49 <****> Apparently not, Andy---
00:49 <****> apparently not
00:49 <****> haha
00:49 <****> yeah i just check in once ever couple hours t osee if anyone in here uses fedora
00:49 <****> i'm sure someone has had this problem before
00:50 <****> mauke, ok guys I'll look through my code again and make 100% sure its creating the expected directory
00:50 <****> you can also use strace to see what it's really doing
00:50 <****> (assuming linux)
00:51 <****> "x" at 71.6.194.243 pasted "x" (17 lines) at http://erxz.com/pb/5278
00:51 <****> "x" at 71.6.194.243 pasted "x" (17 lines) at http://erxz.com/pb/5279
00:51 <****> lol wut
00:52 <****> so I'd like to start working on a build system and I need a way to set up a test perl environment to simulate a fresh system with no CPAN modules installed.
00:53 <****> ok, the directory does not exist. After running the directory does exist and I still get the File Exists error...
00:54 <****> build a perl of your choice with PREFIX=/some/directory
00:54 <****> "x" at 71.6.194.243 pasted "x" (114 lines) at http://erxz.com/pb/5280
00:54 <****> Andy---: you're doing something wrong
00:54 <****> running perl -V shows the @INC that perl is compiled with. Does clearing out @INC completely blow away those?
00:54 <****> mauke, that's obvious
00:54 <****> I guess I should TITS huh
00:54 <****> like running the code twice
00:54 <****> Show us the code, mauke
Total 21 pages. You are browsing page 1/21.
First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last
