in reply to Windows - dirname(__FILE__)

Path::Tiny
use Path::Tiny qw/ path /; my $thisfile = path( __FILE__ )->realpath; my $thisdir = path( $thisfile )->parent;
  • Comment on Re: Windows - dirname(__FILE__) ( Path::Tiny::path(__FILE__)->realpath->parent
  • Download Code