Dear davido
First of all, thank you for answer that fast. (:
Now, the points that still obscure to me:
I have several years of experience coding perl, and this still an obscure point to me: What should I consider as a short string? I'm sure that 20 chars is short -- that's obvious. But how about 400, or even 2000 chars? Is that short?Don't use study when the target string is short.
Again, I'm in lack of a precise criteria to relay on: what shall I assume as a "few matches"? I know for sure that one or two is obviously "a few". But how many more shall I consider "a few"?Don't use study when you plan only a few matches against the target string.
Sorry, I don't know what is "literal text cognizance", can you please explain it to me? (many thanks in advance!!)Don't use study when Perl has no literal text cognizance for the regular expressions that you intend to benefit from the study. Without a known character that must appear in any match, study is useless.
Once more, thank you very much for care and answer, and thank you very much for sharing your knowledge.
"In few words, translating PerlMonks documentation and best articles to other languages is like building a bridge to join other Perl communities into PerlMonks family. This makes the family bigger, the knowledge greather, the parties better and the life easier." -- monsieur_champs
In reply to Re: Re: Help on decide when study
by monsieur_champs
in thread Help on decide when study
by monsieur_champs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |