Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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';
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://497155]
Approved by lidden
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2014-07-25 03:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (167 votes), past polls