Just another Perl shrine | |
PerlMonks |
Re: Generate list of possibilities from incomplete inputby BillKSmith (Monsignor) |
on Jan 21, 2018 at 04:09 UTC ( [id://1207615]=note: print w/replies, xml ) | Need Help?? |
Sometimes brute force is best. Here two foreach loops iterate the parameters of substr. The function uniq in the module List::Util removes the duplicates.
Bill
In Section
Seekers of Perl Wisdom
|
|