in reply to Re: yaJAPH
in thread yaJAPH

I like the range idea... How about leaving the @order numbers alone and using map:

print pack 'C*', @nums[map {--$_} @order];
Or in my naming
print pack'C*',@a[map{--$_}@b];
Ha, compare that with the original loop!

-Blake