You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure it worth fixing, but still I will mention it.
There are rare cases when you need dot at the end of the path. Eg: cp -R /home/nataraj/. /mnt/my_home_backup will copy all files and dirs in my home forlder, including hidden one. If I omit the dot, the whole home folder will be copied.
but when I do $home=path($home).child('.') in Path::Tiny, the dot is omitted.
I do not know what logic about the dots is under the hood, but I guess when use explicitly want dot-child, we should allow it.
But still it is not an issue of great importance, it is quite rare, and can be easily worked around.
The text was updated successfully, but these errors were encountered:
Not sure it worth fixing, but still I will mention it.
There are rare cases when you need dot at the end of the path. Eg:
cp -R /home/nataraj/. /mnt/my_home_backup
will copy all files and dirs in my home forlder, including hidden one. If I omit the dot, the whole home folder will be copied.but when I do
$home=path($home).child('.')
in Path::Tiny, the dot is omitted.I do not know what logic about the dots is under the hood, but I guess when use explicitly want dot-child, we should allow it.
But still it is not an issue of great importance, it is quite rare, and can be easily worked around.
The text was updated successfully, but these errors were encountered: