Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
First, I'm new to Perl (among other things!). This may be a naive question, but I have yet to find a conclusive answer. If there is a simple answer (anyone), please enlighten me.
The form of relative path strings seems to me to vary from code to code, coder to coder with regard to placement of delimiters.
Eg:For my own internal uses I prefer the No 3 form. It seems to make things simpler? But with Perl (i.e File::Spec) & other library calls I have to massage the strings into shape a lot of the time.
Is one of the forms a 'better' way? More portable? More accepted? More Perl?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Path strings
by bobf (Monsignor) on Jan 27, 2007 at 04:35 UTC | |
by Anonymous Monk on Jan 27, 2007 at 05:05 UTC | |
by bobf (Monsignor) on Jan 27, 2007 at 05:13 UTC | |
by Anonymous Monk on Jan 27, 2007 at 05:22 UTC | |
by bobf (Monsignor) on Jan 27, 2007 at 05:53 UTC | |
by Anonymous Monk on Jan 27, 2007 at 06:03 UTC | |
|
Re: Path strings
by liverpole (Monsignor) on Jan 27, 2007 at 04:38 UTC | |
by Anonymous Monk on Jan 27, 2007 at 05:25 UTC |