Name

SPVM::File::Spec::Instance::Win32 - Implementation of File::Spec::Instance for Windows

Description

The File::Spec::Instance::Win32 class of SPVM is an implementation of File::Spec::Instance for Windows.

Usage

my $spec = File::Spec::Instance::Win32->new;
my $file = $spec->catfile(["foo", "bar"], "a.txt"]);

Inheritance

Class Methods

new

static method new : File::Spec::Instance::Win32 ();

Instance Methods

devnull

method devnull : string ();

rootdir

method rootdir : string ();

tmpdir

method tmpdir : string ();

file_name_is_absolute

method file_name_is_absolute : int ($path : string);

file_name_is_root

method file_name_is_root : int ($path : string);

path

method path : string[] ();

splitpath

method splitpath : string[] ($path : string, $nofile = 0 : int);

splitdir

method splitdir : string[] ($path : string);

canonpath

method canonpath : string ($path : string);

catdir

method catdir : string ($dir_parts : string[]);

catfile

method catfile : string ($dir_parts : string[], $file_base_name : string);

rel2abs

method rel2abs : string ($path : string, $base = undef : string);

catpath

method catpath : string ($volume : string, $directory : string, $file : string);

Author

Yuki Kimoto kimoto.yuki@gmail.com

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License