Created
March 3, 2020 20:12
-
-
Save blech/b1d1a4b392410178f1a59481b3a1a947 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
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use Path::Tiny; | |
my $path = pop @ARGV; | |
if (!$path) { | |
print "\nUsage: mkpath path/to/file.txt\n"; | |
exit; | |
} | |
path($path)->touchpath; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment