in reply to How to list all possible variations ?

foreach my $folder (@logfolders, '') { # Do rest of stuff here }
As a very important aside, use strict! It will save you a ton of headaches, probably in the near future.

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

Replies are listed 'Best First'.
Re: Re: How to list all possible variations ?
by Anonymous Monk on Jan 15, 2003 at 21:32 UTC
    This doesnt seem to work, I also want to so all the arrays in one subroutine and this will only do the @logfolders
      And I'm not write your script for you. Either:
      • you can figure out how to extend a suggested fix to be what you need it to be
      • you need to learn do so
      (Unless you're willing to pay me my going rate, of course.)

      ------
      We are the carpenters and bricklayers of the Information Age.

      Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.