Subject: unshifting a directory onto ENV['PATH']
From: Bil Kleb <W.L.Kleb@ r n a o
Date: Sun, 7 Jul 2002 14:11:33 +0900
Is there a more elegant (compact?) method than
ENV['PATH'].split(':').unshift('mystuff').join(':')
or
ENV['PATH'] = 'mystuff:' + ENV['PATH']
for prepending something to ENV['PATH']?
Thanks,
--
Bil