http://qs1969.pair.com?node_id=87305


in reply to Re: Confused by a Conditional
in thread Confused by a Conditional

The only way the conditional in your snippet evaluates to true is if $key=='ID'. Try setting $key to 'GENE', for example (which is one of the valid values), and you'll see.

--ZZamboni

Re: Re: Re: Confused by a Conditional
by damian1301 (Curate) on Jun 10, 2001 at 20:18 UTC
    delete

    Tiptoeing up to a Perl hacker.
    Dave AKA damian

      This prints oh for me, just as I would expect. ActivePerl 5.005_03 on Win2K.