[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] mkpath problem



Does anyone here know how to get mkpath to work correctly using MacPerl?
When I do something like 
mkpath("test/anotherdir/bob", 0, 0777);
I simply get a folder named test/anotherdir/bob instead of the folder test
with another folder in it with a bob folder in that.
If I do 
mkpath("test:anotherdir:bob", 0, 0777);
I get this error:
# Deep recursion on subroutine "File::Path::mkpath".File '10:MacPerl:lib:File:Path.pm'; Line 132Out of memory!Out of memory!Out of memory!



I'm doing this in part to get make_metrics from Font::AFM to work. Do I have
to replace the / in any path with : inside of the AFM.pm? If I do that I'l
also have to change the regex parts that truncate the / etc.

thanks,

Ricardo

===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org