in reply to Re^2: Challenge: Generate a glob patterns from a word list
in thread Challenge: Generate a glob patterns from a word list
you should also add that curlies and commas should be minimal as a second criteria.
for instance a , {a} and {{a}} are all equivalent.
best you provide a sub metric
sub cmp_glob($g1,$g2) which returns -1, 0 or 1 like cmp does.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Challenge: Generate a glob patterns from a word list
by choroba (Cardinal) on May 06, 2021 at 09:37 UTC | |
by hippo (Archbishop) on May 06, 2021 at 10:54 UTC | |
by LanX (Saint) on May 06, 2021 at 11:04 UTC |