Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Don't forget the other ways to change a directory, like pushd and popd.

    Also, I'd recommend an echo statement if the env was changed so you don't forget that it is happening.

    Might help in the future if you have an env related bug and forgot about this...

    And, thanks for the hint. I've been opening multiple terminals and setting up my "environment" for some items that I work on. May change based on this, since those changes are highly correlated to the directory structure I use for projects.
    • I deliberately left pushd and popd out because our env_setup actually does a heck of a lot more (like build separate test databases for each branch) and I use those for "alternate" navigation (though I know I can just do "builtin cd" :).

      The echo statement is a great idea, though. Thanks.