in reply to Re^2: Cwd's abs_path not working with filetests?
in thread Cwd's abs_path not working with filetests?

I do not want to lean too far out of the window, but isn't this kinda defeating a purpose of abs_path()?

Do you know what readdir does? The mistake you're making is explained in readdir documentation, so read perldoc readdir or simply use Path::Tiny and be done with it

  • Comment on Re^3: Cwd's abs_path not working with filetests?