On Wed, Dec 15, 2021 at 03:53:07PM +0000, Paul "LeoNerd" Evans wrote: > Latest update: > > Current pending PR adds a `use builtin :ver` tagging system > > https://github.com/Perl/perl5/pull/19282 > > This isn't yet integrated into the main `use VERSION` but we could > perhaps consider that sometime. > > About the only big thing left to consider, is where to keep track of > ideas for more functions to add. I'm sure there's a huge supply of > potential ideas: > > * getcwd (from `Internals`) Internals::getcwd no longer exists in perl. (See commit e4140d10fb3651bc from September.) It's only needed on miniperl for bootstrapping *nix systems. It's the fallback to use if there isn't platform specific code. Ignoring os2 and dos, we have: VMS => _vms_cwd MSWin32 => _NT_cwd qnx => _qnx_cwd cygwin => cwd amigaos => _backtick_pwd Internals::getcwd is an unconditional 10 line wrapper around getcwd_sv() A correct builtin getcwd would need to duplicate all the platform specific logic from Cwd.pm into C. This seems like a lot of work to basically stand still. Nicholas ClarkThread Previous | Thread Next