Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic


by premchai21 (Curate)
on Apr 15, 2002 at 01:03 UTC ( #159055=note: print w/ replies, xml ) Need Help??

in reply to WWED
in thread The One True Style of indentation:

Actually, that's ambiguous...

M-x cperl-set-style Enter style: <TAB> BSD CPerl GNU PerlStyle C++ Current K&R Whitesmith

So, Emacs Would Do one of the seven/eight styles above, depending on how it's customized. :-)

Comment on Re: WWED
Download Code
Replies are listed 'Best First'.
Re: Re: WWED
by belg4mit (Prior) on Apr 15, 2002 at 02:24 UTC
    Emacs does not default into cperl-mode though. It defaults into the less robust perl-mode.

    perl -pe "s/\b;([mnst])/'\1/mg"

      Not my Emacs -- I use XEmacs 21, which defaults into cperl-mode. The version and type of Emacs wasn't specified in the original post.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://159055]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2016-02-11 06:55 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (361 votes), past polls