Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Mandatory indenting

by Juerd (Abbot)
on Jun 17, 2003 at 19:23 UTC ( #266609=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    }
    
    print "done\n";
    
  2. or download this
    #!/usr/bin/perl -w
    use lib ".";
    ...
            print "$a $b\n";
    
    print "done\n";
    
  3. or download this
    foo
        bar;
    ...
            xyzzy
                blah;
    moo
    
  4. or download this
    foo {
        bar;
    ...
        }
    }
    moo
    
  5. or download this
    package Test;
    use strict;
    ...
        $_ .= "}" x @indents;
    };
    1;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://266609]
Approved by Mr. Muskrat
Front-paged by scain
help
Chatterbox?
[Corion]: 1nickt: On Sunday maybe 10cm of snow fell, and the airport closed, and the trains stopped running etc :) It always comes as a surprise that snow falls here during the winter...
[marto]: 1nickt, no snow, just some ice on the roads and the usual idiocy associated with humans and driving in less than ideal conditions
[1nickt]: Corion I am trying to keep an open mind :-) Or at least, go with the flow. marto yes I saw som photos of lorries overturned on country roads, and wondered why they would have been driving fast enough to have that happen!

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2017-12-11 11:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (289 votes). Check out past polls.

    Notices?