in reply to Passing references to array slices

You can't pass a ref to an array slice, but you CAN pass a list of refs to the slice members. This may or may not let you do what you need to do; I hope it helps.
#!/usr/bin/perl -w use strict; my @x=0..10; sub dbl { foreach(@_){ $$_*=2 } } dbl(\(@x[1,2,3,5,6,7])); print join ",",@x; print "\n";

Mike