in reply to Re: Getting Started with PUGS
in thread Getting Started with PUGS

I extracted this build of PUGS to "I:\Program Files\Languages\PUGS" and @*INC is:
pugs> @*INC ("C:\\Perl6\\lib", "C:\\Perl6\\lib", "C:\\Perl6\\site\\lib", "C:\\Perl6\\site\\lib", "C:\\Perl6\\lib\\auto\\pugs\\perl6\\lib", "C:\\Perl6\\site\\lib\\auto\\pugs\\perl6\\lib", ".")
Drive C: is a stub with some DOS stuff on it.

However, I do have a "I:\Program Files\Languages\PUGS\lib" directory, but no "site" directory.

Regular Perl will look up the path of the executable its running from, and set up the includes relative to that. So, I can run it off a USB key for example simply by copying the directory tree to it.

Any idea where the configuration is kept?

—John

Replies are listed 'Best First'.
Re^3: Getting Started with PUGS
by audreyt (Hermit) on Jun 04, 2006 at 15:05 UTC
    If I remember correctly, regular Perl also hard-codes it INC path.

    You can modify the INC path with the PERL6LIB environment variable. Arguably, a "relocatable Pugs" would be a worthwhile feature to implement. I wonder how does Nicholas's recent work on relocperl does it...