| GumbyBRAIN | What about ai? We'll soon achieve it. What then? Will we have to worry about how to develop. |
| action | CPAN upload: WWW-Slides-0.0.7 by POLETTIX |
| CPAN | upload: WWW-Slides-0.0.7 by POLETTIX |
| Caelum | that's a bit scary :) |
| Prof_Vince | that did make sense |
| buu | Do you think that chainmail shirt gets uncomfortable |
| Prof_Vince | they rust that's bad for you skin |
| edenc | and they pinch too... unless you have something else underneath |
| Prof_Vince | GumbyBRAIN: does mithril tickles ? |
| GumbyBRAIN | and that the package maintainer does? |
| bpalmer` | what does that imply about chainmail bikinis? |
| octagon | delicious |
| FuzzyB | if I have an array, how can i pass it to a function where the function will see it as X amount of scalars? Is this even possible? |
| edenc | err |
| action | LeoNerd tries to understand the question... |
| LeoNerd | tries to understand the question... |
| polettix | "X amount of scalars"? Could you please make an example? |
| edenc | eval: $func = sub { return scalar @_ }; $func->(1, 2, 3) |
| buubot | edenc: 3 |
| FuzzyB | more like |
| edenc | more like what? |
| FuzzyB | eval: @array = ( 1, 2, 3 ); $func = sub { return scalar @_; } $func->( @array ); |
| octagon | myfunc(scalar(@ary)) |
| buubot | FuzzyB: Error: syntax error at eval line 1, near "} $func" Scalar found where operator expected at eval line 1, near "} $func" (Missing operator before $func?) |
| edenc | eval: @array = ( 1, 2, 3 ); $func = sub { return scalar @_; }; $func->( @array ); |
| buubot | edenc: 3 |
| edenc | works just fine |
| FuzzyB | ok sweet thank you |
| polettix | you don't even need $func ;) |
| edenc | why would you do that? when you can just |
| polettix | eval: @array = 1 .. 3; scalar @_; |
| buubot | polettix: 0 |
| stuuf | eval: [sort { int(rand(3))-1 } split //, 'abcdefghijklmnopqrstuvwxyz'] |
| buubot | stuuf: ['l','u','v','x','y','b','p','d','m','c','s','a','i','w','j','e','t','o','q','g','r','n','z','f','h','k'] |
| polettix | uz |
| edenc | eval: @array = (1,2,3); scalar @array |
| buubot | edenc: 3 |
| polettix | eval: @array = 1 .. 3; print scalar @_; |
| buubot | polettix: 0 1 |