Thanks Joost
I've been told by some developers to try and not use die in my code if possible. Reasons being that it is not "pretty" and it might complicate debugging sometimes (if not used properly).
I think one good reason for using it though, like Zaxo stated, is to avoid further bad handles.
In reply to Re^3: Shorter/Better way to rename list of files in a directory
by Scrat
in thread Shorter/Better way to rename list of files in a directory
by Scrat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |