I found the $m->file("/path/to/file");
but I need to provide a way to grab the file one of two ways:
1) Relative to root htdocs directory
2) Absolute path based on current environment
I tried useing "Cwd;" module, but abs_path, realpath, and getcwd all return
"/"
It is not known where the root path lies ahead of time.
So I need to figure out how to convert "/path/to/file" into
("$root/path/to/file")
Where $root could be /Dev1, /Dev2, /Dev3, etc etc. depending on where the
sources are kept.
--
Anthony Ettinger
Ph: 408-656-2473
var (bonita, farley) = new Dog;
farley.barks("very loud");
bonita.barks("at strangers");
http://chovy.dyndns.org/resume.html
http://utuxia.com/consulting
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users