in reply to Reorganizing Files in a Directory
Change those % signs to @ signs. Make that close a closedir. Aside from that:%screenres{@renamedscreenres} = @screenres; %thumbnail{@renamedthumbnail} = @thumbnail; close DIR;
I don't really understand what your question is. It seems you want each type of picture to match up, meaning being in the same corrosponding array index. How do you determine if they match up? Do they each have the same name, except for the suffix? If so then sort should work.
The 15 year old, freshman programmer,
Stephen Rawls
|
|---|