|
From: Mark B. <md...@ji...> - 2002-09-24 18:38:42
|
>> On Tue, 24 Sep 2002 07:46:28 -0700,
>> Kevin Goess(KG) wrote:
KG> 4) These guys were looking for '/' as a directory separator in their
KG> test results, I changed the ok() comparisons to use regexes with a '.'
KG> instead, that'll match unix '/' and dos '\', but I think a mac is '::'.
KG> There doesn't seem to be an easy way to get the directory separator on
KG> the current machine, anybody know one?
I'm not sure of the context, but wouldn't File::Spec work? I believe
it is part of the baseline,
File::Spec - portably perform operations on file names
--
-mb-
|