I wanted to know about using modulus to do this,
If you want to use modules to do this, you're going to need to write them first. Once you've written them, you should know how to use them.~Jeff
my $remainder = @list % 3; # '%' is modulo operatormy $rows = int(@list / 3);# ... based on the number of full rows + the remainders# ... format the data in @list so that it is represented# ... in 3 columns