in reply to Re: experiencing slowness due to matching algorithm
in thread experiencing slowness due to matching algorithm
I will try it thanks!
The problem is that 0 == index $subpath, "$target/" is not quite the same as $subpath =~ /^$target\// because I want it to start with $target. Is there something similar to startswith of Python?
The problem is that 0 == index $subpath, "$target/" is not quite the same as $subpath =~ /^$target\// because I want it to start with $target. Is there something similar to startswith of Python?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: experiencing slowness due to matching algorithm
by hippo (Bishop) on Jan 09, 2023 at 11:28 UTC |
In Section
Seekers of Perl Wisdom