Very simple i would think, like "system('export CVSROOT=/path/to/repository')" Or so i would I guess; what i just wrote does not work for me.
I'm needing this for a CVS repository selection script. Does this make sense? All of the repositories are on a single server. Here's my logic. # Open the CVS root directory (Where all the repositories will be stored under) and show a menu to the user of all repositories available. # Give user a choice of each directory (repository) to select as their own CVSROOT # Export that path to bash environmental variable CVSROOT Cool? Probably not, but i'd still like to know how to export a variable in bash through perl. I've tried a few things like creating a bash script *.sh and the sourcing it through system('source whatever.sh'), but it always claims that source isn't a correct command. Cool? Thanks guys, anything will help. Sorry this isn't pure perl. I'll have a better question next time. ;-) Thanks a bundle! -Chris -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]