sam wrote:
umask 0022; while ($exercises > 0) { open EXERCISE, ">exercise" .$lesson ."_" .$exercises .".pl"; The problem I'm having is that the permissions on the files being created are 644 and not 755.
Then change them using the chmod() function. -- Gunnar Hjalmarsson Email: http://www.gunnar.cc/cgi-bin/contact.pl -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/