Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    
    ...
    is(  -O $0,       1,   "This script is owned by real uid.");
    isnt($mode & 020, 020, "This script isn't group writable.");
    isnt($mode & 002, 002, "This script isn't world writable.");
    
  2. or download this
    1..4
    ok 1 - This script isn't a directory.
    ok 2 - This script is owned by real uid.
    ok 3 - This script isn't group writable.
    ok 4 - This script isn't world writable.
    
  3. or download this
    isnt((stat $0)[2] & 022, 022, "This script isn't group or world writab
    +le.");