Introduction
Use unless to run code only when a condition is false. It helps write clear code for 'if not' situations.
You want to do something only if a user is not logged in.
You want to print a message unless a file exists.
You want to skip a step unless a condition is true.
You want to run cleanup code unless an error happened.