• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

PERL - use of the OR || operators

Mr Bob

Golden Member
I spent all last night learning how to code perl, and just about have eveything the way I want it.

I want to run the command to chmod a file, however, if the file does not exist, or there is an error (meaning it didn't get chmod), then it should set the $temp var to be 1. This will allow me to print out the correct message.

I don't want the program to die if it cannot chmod, but instead change the variable $temp to a different value.

Any other suggestions for a better programming structure is welcome 🙂
 
Back
Top