101 reputation
1
bio website
location
age
visits member for 5 months
seen Jan 20 at 9:44
stats profile views 0

(your about me is currently blank)


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!