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::Spec::Instance::Win32 - An implementation class of File::Spec::Instance for Windows.

Description

SPVM::File::Spec::Instance::Win32 is the SPVM's File::Spec::Instance::Win32 class.

An implementation class of the 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 2022-2022 Yuki Kimoto, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.