M
Miro
I've been using Perl for about 6 months now, and I've never had issues
with this before, but when I run this following code snippet...
my $variable = "f";
if ($variable == "d"){
print ($variable . " is d\n")
}elsif ($variable == "f"){
print ($variable ." is f\n")
}
....it says "f is d"
What am I doing wrong?
with this before, but when I run this following code snippet...
my $variable = "f";
if ($variable == "d"){
print ($variable . " is d\n")
}elsif ($variable == "f"){
print ($variable ." is f\n")
}
....it says "f is d"
What am I doing wrong?