BlackKnait has asked for the wisdom of the Perl Monks concerning the following question:
Hello all,
I found a code snippet within a script and do not know, what it means. I know some basics of perl but I am not really familar with this. Nevertheless I would like to know what this will mean:
I know that I will delete the file, but what does this 'if' means? What condition is it? CUunlink $file if /.BGV/;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Do not understand code
by haukex (Archbishop) on Sep 28, 2017 at 10:03 UTC | |
by BlackKnait (Novice) on Sep 28, 2017 at 10:20 UTC | |
by Your Mother (Archbishop) on Sep 28, 2017 at 16:07 UTC | |
Re: Do not understand code
by LanX (Saint) on Sep 28, 2017 at 10:05 UTC | |
by BlackKnait (Novice) on Sep 28, 2017 at 10:14 UTC | |
Re: Do not understand code
by 1nickt (Canon) on Sep 28, 2017 at 10:06 UTC | |
by BlackKnait (Novice) on Sep 28, 2017 at 10:15 UTC | |
Re: Do not understand code
by ForgotPasswordAgain (Priest) on Sep 29, 2017 at 15:04 UTC | |
by LanX (Saint) on Sep 29, 2017 at 15:20 UTC | |
A reply falls below the community's threshold of quality. You may see it by logging in. | |
A reply falls below the community's threshold of quality. You may see it by logging in. |
Back to
Seekers of Perl Wisdom