Created
December 22, 2018 21:07
-
-
Save bimmerlabs/5441ec218888c3d656e2c159f6ed9353 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open($fh, "<", $path1.$file ) | |
# if path1 fails, try path2 and set missing boolean to 1 | |
or $missing = 1 and open($fh, "<", $path2.$file ) | |
or warn "can't open $file in $path1, $path2; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment