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