Skip to content

Instantly share code, notes, and snippets.

@zoffixznet
Created June 5, 2017 22:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zoffixznet/b37aea33e78218d01e282dd53e0a7049 to your computer and use it in GitHub Desktop.
Save zoffixznet/b37aea33e78218d01e282dd53e0a7049 to your computer and use it in GitHub Desktop.
zoffix@VirtualBox/tmp/tmp.b5p5pFceOD/temp-data$ touch ../customer-data/foo42
zoffix@VirtualBox/tmp/tmp.b5p5pFceOD/temp-data$ ls ../customer-data/foo42
../customer-data/foo42
zoffix@VirtualBox/tmp/tmp.b5p5pFceOD/temp-data$ perl6 -MFile::Temp -e 'temp $*TMPDIR = ".".IO; tempfile "foo42"; chdir "../customer-data"'
zoffix@VirtualBox/tmp/tmp.b5p5pFceOD/temp-data$ ls
foo42
zoffix@VirtualBox/tmp/tmp.b5p5pFceOD/temp-data$ ls ../customer-data/foo42
ls: cannot access ../customer-data/foo42: No such file or directory
zoffix@VirtualBox/tmp/tmp.b5p5pFceOD/temp-data$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment