filipebean has asked for the wisdom of the Perl Monks concerning the following question:
Hi all,
can you please help me to understand the full meaning of the condition:
if ($file !~ /\.tar(\.gz)?$/)does it mean: if $file diferent of .tar or .gz do...
thank you in advance
best regards.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: meaning of if ($file !~ /\.tar(\.gz)?$/)
by hdb (Monsignor) on Apr 08, 2013 at 15:47 UTC | |
by filipebean (Novice) on Apr 08, 2013 at 16:17 UTC |