JOSEPH RYAN writes: > When I think about your description of xxx, I > summarized it in my head as "Call a coderef a certain > number of times, and then collect the results." > That's pretty much what map is, except that xxx is > infix and map is prefix. > > > @results = { ... } xxx 100; > @results = map { ... } 1.. 100; > > Doesn't seem that special to me.
And adding to that the definition of a unary hyper operator: [EMAIL PROTECTED] == map { Â$_ } @list It seems that the rand problem could be solved this way: my @nums = rand (100 xx 100); Luke