in reply to Do not understand code

> What condition is it?

It is a regex testing the content of $_

And it looks broken, probably someone thought to only match files which ends on .BGV but it's matching any substring with 4 characters where the last 3 are BGV

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

Replies are listed 'Best First'.
Re^2: Do not understand code
by BlackKnait (Novice) on Sep 28, 2017 at 10:14 UTC
    Ah, yes, I understand... :-) Thats quite easy. Thanks a lot for this answer...