ingydotnet/io-all-pm — Issue #7: Splitdir not consistent
Author: ranguard
Created: 2011-11-01 21:20:27+00:00
State: open

I would expect the same result for /tmp/foo as for /tmp/foo/

io->dir('/tmp/foo')->splitdir; # '', 'tmp', 'foo'

io->dir('/tmp/foo/')->splitdir; # '', 'tmp', 'foo', ''

The leading '' is also a bit odd IMHO