[Petal] [BUG] $self->{base_dir} to absolute paths is not portable
Jean-Michel Hiver
jhiver at mkdoc.com
Mon Sep 22 17:14:34 BST 2003
In Petal.pm
$BASE_DIR = File::Spec->rel2abs ($BASE_DIR)
if (defined $BASE_DIR and substr ($BASE_DIR, 0, 1) ne '/');
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
use File::Spec here?
Cheers,
--
Building a better web - http://www.mkdoc.com/
---------------------------------------------
Jean-Michel Hiver
jhiver at mkdoc.com - +44 (0)114 255 8097
Homepage: http://www.webmatrix.net/
More information about the Petal
mailing list