in reply to Re^3: 2 substitution problems
in thread Yet another substitution problem

Otherwise, OP should test|improve on AnomalousMonk's and/or graff's solutions.
Actually, the OP should not use those solutions at all – unless it's the solution to use the appropriate function in the Cwd or equivalent module.

Replies are listed 'Best First'.
Re^5: 2 substitution problems
by parv (Parson) on Mar 29, 2009 at 03:04 UTC
    I think you missed "Otherwise", by which I meant to improve on two other solutions when a path does not actually exist on a file system (in case of configuration(s) to be passed around, for example).