On Thu, 21 Aug 2008 17:48:00 +0530, Amit Saxena wrote:
>> Load the code into Emacs.  Ensure cperl-mode is enabled.  Mark the whole
>> buffer (control-space at the beginning, then move point to the end).
>> Execute M-x indent-region,  Look to see where the indentation goes "off".
>>
> How can we enable indentation with in  "vi" (and not "vim") on Solaris for
> Perl code?

Oh, I am the wrong person to ask about deviant editors with arcane modal
interfaces :-) :-)

Maybe you have just found a use case to come over to the path of
righteousness :-) :-) :-)

Seriously, perltidy is a good suggestion given your parameters.

-- 
Peter Scott
http://www.perlmedic.com/
http://www.perldebugged.com/


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to