On Tue, 23 Mar 2010, Richard Quadling wrote: > However you want to identify the location, the autoloading techniques > will allow you to only need to identify the location once. As compared > to every file meticulously maintaining relative links to files. > > So, for testing, would this not work? > > RunTests C:\Dev\Checkouts\PROJ\trunk\tests > RunTests C:\Installed\PROJ\V1.1\Tests > RunTests C:\Installed\PROJ\V2.2\Tests > RunTests C:\Installed\PROJ\V3.3\Tests > > sort of thing? > > And in RunTests, you set the location based upon the $argv[1] (using > the autoloader technique). > > No env_var. No include_path. sure, but deep down, you're still doing what i'm claiming has to be done at some point -- *explicitly* identifying the target location. you're just doing it in a different way, which is fine and might be what i'm after. rday -- ======================================================================== Robert P. J. Day Waterloo, Ontario, CANADA Linux Consulting, Training and Kernel Pedantry. Web page: http://crashcourse.ca Twitter: http://twitter.com/rpjday ======================================================================== -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php