Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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?
[s1akov]: The Perl Monks Guide to the Monastery

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2017-11-18 16:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (277 votes). Check out past polls.

    Notices?