Last active
September 5, 2019 21:47
-
-
Save bellydrum/cd5931c76429bfdf5f5b5dac4da1fbc8 to your computer and use it in GitHub Desktop.
Just a quick logjob
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
# TODO -- delete when done using | |
use Path::Tiny; | |
my $dir = path("/home/dmaness"); | |
my $file = $dir->child(".test_file"); | |
# TODO -- delete when done using | |
# append to existing log -- no need to close | |
$file->append( "write stuff here!" ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I kept having to look up the exact way to write a file with
Path::Tiny
so I made a gist because I'm lazy