I would simply store the relative "path" part and leave the $ENV{HOME}/ out completely. Then, after you parse the XML file you can prepend the value of $ENV{HOME}, perhaps with a rule that only if the value is relative and not absolute.
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In reply to Re: What's the best way to convert a non interpolated single-quoted string into an interpolated double-quoted string?
by jeffa
in thread What's the best way to convert a non interpolated single-quoted string into an interpolated double-quoted string?
by emilbarton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |