Originally posted by needcgispace
and it's else if, not elsif
isn't it elsif in perl?
Originally posted by needcgispace
and it's else if, not elsif
Originally posted by fury
isn't it elsif in perl?
Originally posted by YUPAPA
OKOK... No problem..
I go ask Frank
Originally posted by YUPAPA
Ya!
But still doesn't work!!
#owner
if ($owner_permissions==7) {
print "drwx";
} elsif {
($owner_permissions==6) print "-rw-";
} elsif { ($owner_permissions==5) print "-r-x";
} elsif { ($owner_permissions==4) print "--wx";
} elsif { ($owner_permissions==3) print "-r--";
} elsif { ($owner_permissions==2) print "--w-";
} elsif { ($owner_permissions==1) print "---x";
} else {
print "---";
}
Originally posted by lucifer
Yupapa if you are new to this perl stuff be aware that you can make some big holes in your security if you do some silly things like `$something_from_a_form` so I'd advise getting it checked over by someone who knows about these things else you could have big problems. at it