Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: URL resolve (operations on path etc.)by harangzsolt33 (Chaplain) |
on Jul 31, 2022 at 11:31 UTC ( [id://11145866]=note: print w/replies, xml ) | Need Help?? |
Could this be resolved with a regex maybe? Like for example:
I put the regex in a for(;;) loop, because adding global flag didn't do what I want: $PATH =~ s/\/[^\/]+\/\.\.//g;
In Section
Seekers of Perl Wisdom
|
|