Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 exploiting the Monastery: (12)
As of 2015-07-31 19:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (280 votes), past polls