in reply to How to use chmod u +x in perl
use File::chmod qw(chmod); chmod('u+x', 'sample.pdf'); [download]