in reply to Where to save perl scripts on a mac?

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re: Where to save perl scripts on a mac?

Replies are listed 'Best First'.
Re^2: Where to save perl scripts on a mac?
by rlucas (Scribe) on Jun 28, 2005 at 06:44 UTC
    You don't.

    More properly, you can change your profile (~/.bash_profile on 10.3+ by default, as I recall) to cd upon login from your home dir ~ (/Users/Name) to ~/directory, but that's very un-unixy.

    Why don't you work on your scripts, and when they're as you want, do:

    $ mkdir ~/bin $ mv perlfile.pl ~/bin/ $ chmod +x ~/bin/perlfile.pl
    ... and then edit your .bash_profile or .bashrc to add ~/bin to your PATH?