X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/436c6dd385a3b29cadf4fa091af1c55eed665e29..55c0ed8ce52f5a0c9efbea1259b92e86214922f8:/Porting/pumpkin.pod diff --git a/Porting/pumpkin.pod b/Porting/pumpkin.pod index 141a60a..cff54cd 100644 --- a/Porting/pumpkin.pod +++ b/Porting/pumpkin.pod @@ -1277,6 +1277,21 @@ Anyway, all this leads to quite obscure failures that are sure to drive casual users crazy. Even experienced users will get confused :-). Upon reflection, I'd say leave libperl.so in $archlib. +=item 4. + +Indentation style: over the years Perl has become a mishmash of +various indentation styles, but the original "Larry style" can +probably be restored with (GNU) indent somewhat like this: + + indent -kr -nce -psl -sc + +A more ambitious solution would also specify a list of Perl specific +types with -TSV -TAV -THV .. -TMAGIC -TPerlIO ... but that list would +be quite ungainly. Also note that GNU indent also doesn't do aligning +of consecutive assignments, which would truly wreck the layout in +places like sv.c:Perl_sv_upgrade() or sv.c:Perl_clone_using(). +Similarly nicely aligned &&s, ||s and ==s would not be respected. + =back =head1 Upload Your Work to CPAN