in reply to Re: combine two scripts into one
in thread combine two scripts in to one
The first, and most obvious, check is to see if @files1 is populated. If it's empty, the foreach loop will be skipped, and it will appear that the program isn't running this part of the code. If @files1 should be populated, but isn't, check to make sure that the script has permissions to read the directory; it may not if, for example, this is a CGI script.
emc
Insisting on perfect safety is for people who don't have the balls to live in the real world.
|
|---|