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 ( [id://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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (1)
As of 2024-04-24 16:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found