Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Do not understand code

by LanX (Saint)
on Sep 28, 2017 at 10:05 UTC ( [id://1200256]=note: print w/replies, xml ) Need Help??


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...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1200256]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-03-28 22:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found