in reply to
Not equal, regular expressions
One problem might be that the `.' is a metacharacter in the regex. Try quoting it:
if ($file !~ /\Q$line\E$/) {
[download]
and see what happens. -Mark
Comment on
Re: Not equal, regular expressions
Download
Code
Replies are listed 'Best First'.
In Section
Seekers of Perl Wisdom