#perl - Sat 5 May 2007 between 20:21 and 20:28



GumbyBRAINWhat about ai? We'll soon achieve it. What then? Will we have to worry about how to develop.
actionCPAN upload: WWW-Slides-0.0.7 by POLETTIX
CPANupload: WWW-Slides-0.0.7 by POLETTIX
Caelumthat's a bit scary :)
Prof_Vincethat did make sense
buuDo you think that chainmail shirt gets uncomfortable
Prof_Vincethey rust
that's bad for you skin
edencand they pinch too... unless you have something else underneath
Prof_VinceGumbyBRAIN: does mithril tickles ?
GumbyBRAINand that the package maintainer does?
bpalmer`what does that imply about chainmail bikinis?
octagondelicious
FuzzyBif 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?
edencerr
actionLeoNerd tries to understand the question...
LeoNerdtries to understand the question...
polettix"X amount of scalars"? Could you please make an example?
edenceval: $func = sub { return scalar @_ }; $func->(1, 2, 3)
buubotedenc: 3
FuzzyBmore like
edencmore like what?
FuzzyBeval: @array = ( 1, 2, 3 ); $func = sub { return scalar @_; } $func->( @array );
octagonmyfunc(scalar(@ary))
buubotFuzzyB: Error: syntax error at eval line 1, near "} $func" Scalar found where operator expected at eval line 1, near "} $func" (Missing operator before $func?)
edenceval: @array = ( 1, 2, 3 ); $func = sub { return scalar @_; }; $func->( @array );
buubotedenc: 3
edencworks just fine
FuzzyBok sweet
thank you
polettixyou don't even need $func ;)
edencwhy would you do that?
when you can just
polettixeval: @array = 1 .. 3; scalar @_;
buubotpolettix: 0
stuufeval: [sort { int(rand(3))-1 } split //, 'abcdefghijklmnopqrstuvwxyz']
buubotstuuf: ['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']
polettixuz
edenceval: @array = (1,2,3); scalar @array
buubotedenc: 3
polettixeval: @array = 1 .. 3; print scalar @_;
buubotpolettix: 0 1

Page: 4 11 18 25 32 39 46 53 60 67 74 81 88 95 102 

IrcArchive