Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Spaces vs Tabs

by Discipulus (Canon)
on Jun 16, 2017 at 16:24 UTC ( [id://1192960]=note: print w/replies, xml ) Need Help??


in reply to Re: Spaces vs Tabs
in thread Spaces vs Tabs

I think I always used tabs, but seems that my primitive editor of choice convert them into 2 (?!) spaces.

Anyway I'll pass all my codebase through  perl -i.bak -e "s/\t+/' ' x (length($&) * 8 - length($`) % 8)/e" and monday I'll ask my boss for more money.. ;=)

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Replies are listed 'Best First'.
Re^3: Spaces vs Tabs
by hippo (Bishop) on Jun 16, 2017 at 16:33 UTC

    Don't sell yourself short - go for 32 instead of 8. Have to justify that widescreen monitor somehow.

      LOL! Water came out of my nose :D

        Dude, that's only supposed to happen when you're drinking water.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-26 04:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found