I don't think there is a built in variable called $os You may want $^O or if you have a use English; at the start of your script, maybe $OSNAME I think your chmod will never happen.
You don't have a use warnings and use strict so perl didn't warn you that $os was neither declared nor initalized.
In reply to Re: using loop/array to write files
by mandog
in thread using loop/array to write files
by ginocapelli
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |