Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re3: The One True Style of indentation:

by blakem (Monsignor)
on Apr 15, 2002 at 03:15 UTC ( [id://159079]=note: print w/replies, xml ) Need Help??


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

A slightly different way to do that:
perl -pi -e 's/\G\t/ /g' foo.pl
(Adapted from a "replace-leading-zeros-with-spaces" oneliner I seem to remember)

Update: looks like the original came from merlyn after dominus offered a suggestion similar to japhy's

-Blake

Replies are listed 'Best First'.
Re: Re3: The One True Style of indentation:
by hsmyers (Canon) on Apr 16, 2002 at 11:53 UTC
    Ummm-- I think that was a 'dictum', not a suggestion...

    –hsm

    "Never try to teach a pig to sing…it wastes your time and it annoys the pig."

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2024-03-28 14:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found