Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

perltidy IF continuation indentation

by jaa (Friar)
on Oct 04, 2005 at 08:34 UTC ( #497155=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      return $ship->chargeWeapons( "phaser-canon" )
        if $encounter->description eq 'klingon'
          and $ship->firepower  >= $encounter->firepower
          and $location->status ne 'neutral';
    
  2. or download this
      return $ship->chargeWeapons( "phaser-canon" )
        if $encounter->description eq 'klingon'
        and $ship->firepower  >= $encounter->firepower
        and $location->status ne 'neutral';