Geoffrey Young wrote:

and it's an absolute_path.




no sense checking that - rel2abs returns an absolute path by definition.



what if it fails?


the call to rel2abs? since it does no check of the underlying filesystem I doubt that's realistic.

you are right, I've confused with the opposite operation abs2rel, which may fail if the base doesn't fit.


In any case it's a good idea to check that rel2abs gives you a path that exists, no?

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



Reply via email to