Perl script code example to create temporary directory-tempdir()

Here is a perl script example how to create temporary directory on the file system:

#!/usr/bin/perl

use File::Temp qw/ tempdir /;

my $perl_temporary_directory = tempdir();

Leave a Reply

You must be logged in to post a comment.