I have a script that has to chown everything in a directory. I have preferred system("chown","-R","user:group","$dir")than the perl function chown (It seems easier for me because I have not to read the directory).
So, in general, what is the best way : using Perl functions or system?
Thanks.