Here is my line of code:
#!/usr loca/bin/perl
use warnings;
use strict;
...
...
if ($file ne "." || $file ne "..")
I have also tried:
if ($file ne "." or $file ne "..")
And the if statement always passes since it cannot recognize the conditions I am setting. I have done one at a time and they work as expected. Can anyone help determine how I need to set this up properly? Thanks!