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

Channels


#perl

21 October 2007


Total 33 pages. You are browsing page 3/33.

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

03:14 <****> PerlJam, ok thanks, i will try
03:14 <****> my next question is: why the most module not actually and end befor 2006-7 or befor 1.0 are released?
03:14 <****> befor=before
03:15 <****> If I am going to reg a line like: my ( $phoo, $blah ) =~ /(...)(...)/ ;
03:15 <****> Hurley_: Did you read perlxstut?
03:15 <****> Is there any way to do that without setting $_ ?
03:15 <****> prakriti: you didn't make enough sense.
03:16 <****> prakriti: $line =~ whatever
03:16 <****> Hurley_: Look at Wx.pm
03:16 <****> prakriti: ($a,$b) = $string =~ /(...)(...)/; # Is this what you want?
03:16 <****> then my ($phoo, $blah) = $line =~ ...
03:16 <****> ok
03:16 <****> there it is
03:16 <****> thanks
03:16 <****> =~ has nothing to do with =
03:16 <****> (it's a regexp-variant of ==, perhaps, but not = )
03:16 <****> pl
03:16 <****> ok
03:16 <****> GumbyBRAIN, Dongify!
03:16 <****> Oh, jesus, now i'm going to dongify it otherwise.
03:17 <****> THe only way I knew how to do: ($a,$b) = $string =~ /(...)(...)/; was as $_ = $line; ($a,$b) =~ /(...)(...)/;
03:17 <****> prakriti, that's because it really looks like: ($x, $y) = $_ =~ /(...)(...)/;
03:18 <****> deparse: ($a,$b) =~ /(...)(...)/;
03:18 <****> Zoffix: (($a, $b) =~ /(...)(...)/);
03:19 <****> prakriti: it was probably never doing quite the righ tthing before
03:20 <****> if you did do "$_ = $line; " then you could say "($a,$b) = /.../;" to assign the groups in /.../ to a and b
03:20 <****> (perl on windows s*cks)
03:20 <****> s/perl on//
03:21 <****> ralf__: Having perl on windows is better than *not* having perl and using windows.
03:21 <****> thanks avar
03:21 <****> more perl is always better than less perl!
03:22 <****> Chris62vw: well said!
03:22 <****> Chris62vw: (and that's why perl 6 rocks! ;-)
03:22 <****> hehe
03:22 <****> ;)
03:25 * jagerman wonders if perl6 will ever exists
03:25 <****> s/s$//
03:26 * iank tackles jagerman
03:26 <****> With all the stuff being backported into 5.10, likely even more will be backported into 5.12, leaving even less pressure for perl6 to come into existence.
03:27 <****> I could see some of the OO stuff seeping back to 5.12, for instance.
03:27 <****> when will unicode operators appear?
03:28 <****> jagerman: lots of OO stuff has come back in the form off Class::MOP and Moose
03:28 <****> and Class::C3
03:28 <****> DSterling: But that furthers my point
03:29 <****> Bringing these things back into p5 actually hurts the timeline of p6
03:29 <****> jagerman: well, Perl 6 is a totally different beast, though. and Parrot is being actively developed, if perhaps slowy
03:29 <****> slowly
03:29 <****> but what is the timeline of p6?
03:29 <****> done being designed? Done being implemented?
03:30 <****> both those things need to be finished before people can start adopting it.
03:30 <****> use kp6, not parrot:)
03:31 <****> urgh
03:32 <****> bpalmer: Both.
03:33 <****> The timeline to completion, to being a stable release
03:34 <****> apparently Learning Perl 6 is being written; that should provide a nice focus for when the release should be made.
03:35 <****> jagerman: Kinda Perl 6 was released on CPAN this month
03:35 * avar is reminded to make another release
03:37 <****> I don't see perl6 on CPAN, what's the distribution name?
03:37 <****> KindaPerl6
03:37 <****> it's just one compiler though
03:37 <****> and it's better to svn co http://svn/pugscode.org/v6/v6-KindaPerl6
03:38 <****> hrm, that's not the right uri it seems
03:38 <****> avar: written in Common Lisp, right?
03:38 <****> no, it's written in Perl 6, common lisp is just one backend I'm working on
03:39 <****> (I mostly didn't write it)
03:39 <****> the p5 one is the most complete
04:12 <****> what is \Q and \E for in //;? quoting?
04:12 <****> perldoc -f quotemeta
04:12 <****> thanks
04:16 <****> eval: unshift @c, splice @a=1..10,4,4,@b=3..6;@c;;
04:16 <****> TrueFX: ''ERROR: Type of arg 1 to splice must be array (not list assignment) at (eval 238) line 1, at EOF
04:17 <****> is there a way to make a subroutine use a named list of arguments, like in other languages?
04:17 <****> no, but you can pass in key-value pairs and assign them to a hash
04:17 <****> why can i use list assignement here in splice function ?
04:18 <****> isnt it like print function which takes list as an argument ?
04:18 <****> er, no, it takes an array as the first argument
04:19 <****> hmm
04:20 <****> unshift @c,splice @{[@a=1..10]},4,4,@{[@b=3..6]};@c;
04:20 <****> eval: unshift @c,splice @{[@a=1..10]},4,4,@{[@b=3..6]};@c;
04:20 <****> TrueFX: 4
04:20 <****> why in the world are you using splice on arrays with static values?
04:20 <****> just for testing
04:21 <****> then test with temporiares, it won't kill you to have a few extra lines
04:22 <****> i have got only one line:)
04:22 <****> yeees..
04:22 <****> eval: @a = 1..10; @b = 3..6; unshift @c, splice @a, 4, 4, @b; [@c]
04:22 <****> Somni: [5,6,7,8]
04:23 <****> eval: unshift @c,splice @{[@a=1..10]},4,4,@{[@b=3..6]};[@c];
04:23 <****> TrueFX: [5,6,7,8]
04:28 <****> Hi and Hello
04:38 <****> GumbyBRAIN: OMGPONIES!!!11111eleven
04:38 <****> 1One!1eleven!!1.
04:41 <****> GumbyBRAIN: wiggle waggle woggle
04:41 <****> what is what.
04:42 <****> eval: $life;
04:42 <****> TrueFX: undef
04:42 <****> eval: $death;
04:42 <****> simcop2387: undef
04:42 <****> THIS IS THE BEST MOVIE EVER http://www.break.com/saw4/gross-knee-draining.html
04:43 <****> eval: $life & $death


Total 33 pages. You are browsing page 3/33.

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


Tutti i nuovi CAP Italiani. Come ottenere il database completo