$ perl -wE 'printf "%o\n", 777' 1411 [download]
In reply to Re: PERL chmod inconsistent with the LINUX equivalent by moritz in thread PERL chmod inconsistent with the LINUX equivalent by Anonymous Monk