in reply to If doesn't work

Im 100% sure that @file1 is the pass, I already checked that,
and I also know that the first line is useless, this is just
to learn a little bit about perl, I plan on making the
actual login page a little bit different, but for now
I need to get the if statment to work for me, it works
for me in every language but perl (JavaScript, C, C++, ect.)...