On Monday, June 10, 2002, at 07:38 , Mark Underwood wrote:
[..]
> Also appologies for taking so long to get back to you, I wanted to explore
> some other easier options before trying your suggestion..
hey, I just shifted over to doing it that way myself....
I always had a simple function that wrapped
system("mkdir -p $dir");
so not a problem... Then I built one with a recursive walker
cause I wanted to do that.....
> I guess this means I have to install a Perl Module correct ?
I really wish I could remember....
I think it comes 'by default' with perl 5.6.1 - but for the
life of Me I can not recall....
nope - a quick check of the CPAN
http://search.cpan.org/search?mode=module&query=File%3A%3APath
suggest that it first showed up in 5.003 so it should be there...
when in wonder when in doubt - the old version trick will help
[jeeves:Library/Perl/File] drieux% perl -MFile::Path -e 'print
"$File::Path::VERSION \n"'
1.0403
[jeeves:Library/Perl/File] drieux%
IF you get say:
[jeeves:Library/Perl/File] drieux% perl -MFile::WOMBAT -e 'print
"$File::WOMBAT::VERSION \n"'
Can't locate File/WOMBAT.pm in @INC (@INC contains:
/System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin
/Library/Perl /Library/Perl /Network/Library/Perl/darwin /Network/Library/
Perl /Network/Library/Perl .).
BEGIN failed--compilation aborted.
[jeeves:Library/Perl/File] drieux%
then the problem is that the Module will have to be downloaded....
[..]
> the drieux Babbled:
>> perldoc File::Path
>>
>> and in particular the
>>
>> mkpath
>>
>> function. An illustration of it's use is shown in:
>>
>> http://www.wetware.com/drieux/pbl/misc/linkToNowhere.txt
ciao
drieux
---
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]