for some reason when i try to use an if statement, rather than checking if it is true or not, it changes the value.
If I type:
if ($blah = 'someword') {
$blahblah = 0;
}
say $blah = 'anotherword' when it gets to this line, it changes the value of $blah to 'someword' then proceeds to making the value of $blahblah to '0'
Is there something I'm doing wrong or something I'm forgetting?