Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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: (6)
As of 2016-05-03 01:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?