101 reputation
2
bio website
location
age
visits member for 1 year, 10 months
seen Oct 11 '13 at 9:24

(your about me is currently blank)


Sep
24
awarded  Autobiographer
Jan
9
awarded  Supporter
Dec
26
comment Prune duplicate entries from PATH variable
Just a typo: the ! is missing in the if. Also, it's surprisingly (to me) easy to make this into a function which loops over space-separated arguments, so you can just say: add_to_PATH ~/perl5/bin ~/.bin unix.stackexchange.com/a/4973/28760 (I guess the case statement used there is more portable, but your if is clearer to me). EDIT weird coincidence that that question also adds perl5!