Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Perl Best Practices PerlTidy

by diotalevi (Canon)
on Dec 14, 2005 at 17:04 UTC ( #516691=note: print w/replies, xml ) Need Help??


in reply to Re^2: Perl Best Practices PerlTidy
in thread Perl Best Practices PerlTidy

I don't generally like things that re-indent when I'm not doing something like saving the buffer (obviously) or hitting tab to request a reindent.

Replies are listed 'Best First'.
Re^4: Perl Best Practices PerlTidy
by bluto (Curate) on Dec 14, 2005 at 17:52 UTC
    I like the automated indentation happen as soon as reasonable (e.g. after a return) on a small scope, so I can visually verify it's exactly what I want. I can get perltidy to do 98% of what I want, but there are rare times when I want a specific hand coded indentation, and I don't want it to change silently afterward. I'm probably just too picky or don't know enough about perltidy to rely on it 100% yet.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://516691]
help
Chatterbox?
[oiskuu]: ... getlogin refers to tty owner; if you close STDIN, then getlogin returns undef. I get undef in my shell (running under X)
[tye]: Then there is a more persistent big of data similar to getlogin(). I don't believe even daemonizing drops it. So you can tell services that were started at boot time from those started by a person.
[tye]: I'll have to look into that later. getlogin() suites my current needs.

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2017-06-23 19:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (554 votes). Check out past polls.