The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Name

SPVM::File::Temp - Creating Temporary Files and Directories

Description

The File::Temp class in SPVM has methods to create temporary files and directories.

Usage

  use File::Temp;
  
  my $tmp_dir = File::Temp->newdir;
  
  my $tmp_dir_name = $tmp_dir->dirname;

Class Methods

newdir

static method newdir : File::Temp::Dir ();

Creates a temporary directory and returns a new File::Temp::Dir object.

Repository

SPVM::File::Temp - Github

Author

Yuki Kimoto kimoto.yuki@gmail.com

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License