logo [Gallery] [Linux] [Links] [Stuff]


#!/usr/bin/perl -w strict

@array = ("one", "two", "three", "four", "five", "six", "seven");
while (@array){
    $comp = $array[0];
    foreach $element (@array){
        print "$comp$element\n";
    }
shift (@array);
}

Photographs that appear on this site may not be reproduced in any form without the express permission of the author.
All photographs Copyright © 1999-2001 by Ian M. Hayhurst - All Rights Reserved.