in reply to Formatting Perl code with Emacs
Perhaps using perltidy is an alternative it does'n - results don't look bad:
sub _get_options { Getopt::Long::Configure('gnu_getopt'); return Getopt::Long::GetOptions( \%Options, qw( version|V debug ) ); }
And perhaps you can configure perltidy to get exactly the result you want :-)
Nice command to invoke perltidy from within emacs:
Type C-x h and then M-1 M-| to run the shell command (perltidy) on the marked region.
Regards, Karl
«The Crux of the Biscuit is the Apostrophe»
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Formatting Perl code with Emacs
by karlgoethebier (Abbot) on Nov 07, 2013 at 09:30 UTC | |
by LanX (Saint) on Nov 07, 2013 at 14:10 UTC | |
by isntvoid (Novice) on Nov 07, 2013 at 10:22 UTC | |
Re^2: Formatting Perl code with Emacs
by isntvoid (Novice) on Nov 07, 2013 at 08:32 UTC |
In Section
Seekers of Perl Wisdom