title: What's the best practice for changing working directories inside scripts?
body: <p>Do you think changing directories inside bash or Perl scripts is acceptable? Or should one avoid doing this at all costs?</p>
  
  <p>What is the best practice for this issue?</p>