...doesn’t explain why it worked on the second run...
Oh, it does. On the second run the directory $path.1 had already been created (by the first run) and so the loop beginning with "until (! -d $PATH)" did run at least once. When that happens the line "$New=..:" gets executed. Result: $New!=$Old
In reply to Re^3: New Folders
by jethro
in thread New Folders
by Brian268
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |