Let fcopy look for files containing more than one class name separated by dots

Thomas Neumann blacky+fai at fluffbunny.de
Fri Nov 26 09:15:02 CET 2010


hiya

I like the idea!

> thanks for your feedback. Good question. Currently it's defined by the
> behaviour of glob() which is bad, in my opinion. Maybe we can use the list
> of @classes and put a weight there. If you have this list for example:
> qw(CLASS1 CLASS2 CLASS3 CLASS4 CLASS5 CLASS6). Let's define that the index
> of the list is the weight of the list item: CLASS1 => 0, CLASS2 => 1 ...
> CLASS6 => 5
> The file CLASS4.CLASS5.CLASS6 would win over CLASS1.CLASS2.CLASS3 etc.
>
> Maybe the whole idea is bad... I'm not sure anymore :)

It seems quite ugly to me, because things can get complicated really fast.
I'd prefer a warning/error being issued and be done with it.

tschüß
thomas



More information about the linux-fai mailing list