-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
dir /tmp/yyy exists
$file = '/tmp/xxx';
$file->move_to('/tmp/yyy')
file xxx moved to yyy but $file is
Path::Class::File=HASH(0x7fcaa3288a78)
'dir' => Path::Class::Dir=HASH(0x7fcaa2f7b560)
'dirs' => ARRAY(0x7fcaa3288d48)
0 ''
1 'tmp'
2 'yyy'
'file_spec_class' => undef
'volume' => ''
'file' => ''
'file_spec_class' => undef
Other occasions, $file is
Path::Class::File=HASH(0x7fcaa3288a78)
'dir' => Path::Class::Dir=HASH(0x7fcaa2f7b560)
'dirs' => ARRAY(0x7fcaa3288d48)
0 ''
1 'tmp'
'file_spec_class' => undef
'volume' => ''
'file' => 'yyy'
'file_spec_class' => undef
Either way, not good
Metadata
Metadata
Assignees
Labels
No labels