changed to PERL style operator based on Marks comment