Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2014-10-26 09:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (153 votes), past polls