[Templates] Getting directory or config information

David Dyer-Bennet dd-b@dd-b.net
01 Oct 2003 14:39:32 -0500


How can code executing in a [% PERL %] block find what the...
src or dest directories are?  Or what directory the curren...
was loaded from?  I need to find where I *am* to be able t...
where the data directory is (I know *relative to* that).

And is it a known bug that any reference to an undefined variable in a
PERL block causes a segmentation violation?
-- 
David Dyer-Bennet, <dd-b@dd-b.net>, <www.dd-b.net/dd-b/>
RKBA: <noguns-nomoney.com> <www.dd-b.net/carry/>
Photos: <dd-b.lighthunters.net>  Snapshots: <www.dd-b.net/dd-b/SnapshotAlbum/>
Dragaera mailing lists: <dragaera.info/>