Home Page   #c  #ruby-lang  #cisco  #mysql  #apache  #javascript  #java  #perl  #php  #openmoko   Wallpapers Girl
Reliable $1 Web Hosting by 3iX

Channels


#perl

07 October 2007


Total 39 pages. You are browsing page 1/39.

First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last

--- Log opened Sun Oct 07 00:00:57 2007
00:04 <****> i has gpu
00:05 <****> is there a perl module doing 'rm -rf', handling recursive directory trees et al?
00:06 <****> yes
00:07 <****> File::Path::rmtree()
00:10 <****> thanks
00:10 <****> :)
00:21 <****> How can I check the size of a variable?
00:21 <****> it? or its value?
00:22 <****> Value
00:22 <****> so you want the /length/ right?
00:22 <****> perldoc -f length
00:22 <****> :)
00:22 <****> C-=
00:23 <****> Thanks :)
00:28 * CPAN upload: Data-Remember-0.04 by HANENKAMP
00:36 <****> bzr-- # godawful shitty docs
00:36 <****> I shouldn't have to Google to find out how to do the equivalent of a checkout. =\
00:38 <****> yeh, really. the help not helpful?
00:39 <****> uhm, no.
00:40 <****> :/
00:53 <****> how can I determine the number of elements in an array?
00:53 <****> my $number_o_elements = @the_array;
00:54 <****> $n = sum 0, map 1, @array;
00:54 <****> wait, I can simplify that
00:54 <****> $n = grep 1, @array;
00:54 <****> thrig: is there a way to cast @the_array in a line?
00:55 <****> thrig: aha! int(@the_array)
00:55 <****> huh?
00:55 <****> cr3: no.
00:55 <****> Since when isn't the size of an array an integer?
00:55 <****> cast? This isn't a broken bones language
00:57 <****> eval: @x = (1..9); scalar @x
00:57 <****> cfedde: 9
00:58 <****> eval: @x = 1 .. 9;
00:58 <****> mauke: 9
00:58 <****> what? have something against parens?
00:58 <****> yes
00:58 <****> cr3: scalar( @the_array );
00:59 <****> :-)
01:00 <****> eval: ((((((((((((((((((((@x = ((((((((((((((((((((1..9)))))))))))))))))))))))))))))))))))))))); ((((((((((((((((((((scalar ((((((((((((((((((((@x))))))))))))))))))))))))))))))))))))))))
01:00 <****> Zoffix: 9
01:02 <****> nice
01:03 <****> ubajas: since when is a size not an integer?
01:04 <****> thanks again for the catalyst recommendations. so far, i'm liking it a lot.
01:04 <****> it could be a float if you have half of an element
01:05 <****> prakriti: right, that makes sense
01:05 <****> $kings_cross[9.75] = "Train to hogwarts";
01:05 <****> $[ = 0.5; # compromise
01:08 <****> gutsy in 12 days
01:10 <****> dang, 12 days?
01:10 <****> prakriti, I've been using it for a month already.
01:11 <****> pkrumins, currently it's pretty stable actually. Haven't crashed for a while.
01:11 <****> i'm updating mine now actually :)
01:11 <****> update-manager -d
01:11 <****> Last version if it that I'll run :/ it's getting worse and worse
01:11 <****> i tried the 7.10 beta last night and my first action was to install nvidia-glx, which from then on refused to let me boot into X
01:11 * prakriti crosses his fingers
01:11 <****> s/if/of/;
01:12 <****> i tried to return everything to its previous state, but no soup, so i think i'll just reinstall and not do that again.
01:19 <****> guys... would I say .... "print "$spam" or die unless ($eggs)" ... or ... "print "$spam" unless ($eggs) or die"
01:19 <****> neither
01:20 <****> o.o k
01:20 <****> unless ($eggs) { print $spam or die; }
01:20 <****> k
01:20 <****> thanks
01:23 <****> is there a geoip related module in perl ? something that relates ip to geo. coords ?
01:23 <****> yes
01:23 <****> cpan ?
01:23 <****> thank
01:23 <****> +s
01:24 <****> I was wondering if somebody might be able to help me out with a probably a really simple problem, but not so simple for my beginner skills lol
01:24 <****> has to do with moving a list of elements from one array to another
01:26 <****> hello?
01:26 <****> hello?!?!
01:26 <****> howdy :)
01:26 <****> splice'n'slice
01:26 <****> not sure if I know what you mean
01:27 <****> eval: @a =a..z; @z = @a[0..10]; \@z
01:27 <****> Zoffix: ['a','b','c','d','e','f','g','h','i','j','k']
01:27 <****> you haven't asked a question yet
01:27 <****> eval: @a =a..z; @z = map { uc $_ } @a; \@z
01:27 <****> Zoffix: ['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z']
01:28 <****> I was wondering if somebody might be able to help me out with a probably a really simple problem, but not so simple for my beginner skills lol has to do with moving a list of elements from one array to another
01:28 <****> ...so *that*'s what the alphabet looks like in all-caps
01:28 <****> I was just wondering that.
01:28 <****> LordDicranius: stop repeating
01:28 <****> Zoffix is there source for buubot's interesting printing algorythm ?
01:28 <****> mauke: was repeating for anno- who thought I hadn't asked a question yet
01:28 <****> LordDicranius: you haven't asked a question yet
01:28 <****> LordDicranius: you still haven't asked a question
01:28 <****> _abc_
01:29 <****> _abc_, 1) Why the hell are you asking ME? 2) What's an "interesting printing algorithm"?
01:29 <****> lol. it's the second cranium that asked the 2nd q.
01:29 <****> how do I move elements from one array to a new array?
01:29 <****> thanks
01:29 <****> basically renaming it
01:29 <****> buubot: source
01:29 <****> iank: source is svn co svn://erxz.com/bb2/trunk
01:29 <****> _abc_: ^^


Total 39 pages. You are browsing page 1/39.

First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last


Tutti i nuovi CAP Italiani. Come ottenere il database completo