Why is the above conditional coming out as true?????????#!/usr/bin/perl -w use strict; my $key = 'JUMP'; if ($key eq 'ID' or 'TITLE' or 'GENE' or 'CYTOBAND' or 'LOCUSLINK' or +'CHROMOSOME' or 'SCOUNT') { print "I don't know why this is printing.\n"; }
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar";
$nysus = $PM . $MCF;
In reply to Confused by a Conditional by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |