develooper Front page | perl.perl5.porters | Postings from May 2003

Re: [DOC PATCH] & More File::Path issues

Thread Previous | Thread Next
From:
Jos I. Boumans
Date:
May 3, 2003 08:49
Subject:
Re: [DOC PATCH] & More File::Path issues
Message ID:
C84FD336-7D7E-11D7-96C4-000393B97AA4@dwim.org

On Wednesday, Apr 30, 2003, at 16:51 Europe/Amsterdam, Robert Spier 
wrote:

>> However, i can't help but think how nice it would be to actually have 
>> a
>> way to shorten paths appropriately enough for the creation to still
>> succeed.
>
> I'm not sure this is a *perl* problem.

it's a problem for users of perl.. the fact the OS is to blame hasn't 
stopped us before from doing something reasonable.


> I also think this should fail.  If you can't access it with Long
> names, you shouldn't hack around it.

fair enough, i've been thinking about a possible 'good way' to do it 
anyway, but couldn't come up with something satisfactory. ie, it would 
fix things in one case, but would break in others.


>> +If C<mkpath> gives you the warning: B<No such file or directory>, 
>> this
>> +may mean that you've exceeded your filesystem's maximum path length.
>> +For example, on FAT filesystems (Win32), this is known to be 260
>> +characters.

> Maybe:
>
> On Windows, if C<mkpath> gives you the warning: B<No such file or
> directory>, this may mean that you've exceeded your filesystem's
> directory>maximum path length.

that's fine with me, just /some/ mention of it in the docs seem 
apropriate

maybe casey feels strongly about certain wording? :)

--

Jos Boumans

	"You know the world is going crazy, when
	the best rapper is a white guy,
	the best golfer is a black guy,
	Switzerland wins the US Open sailing cup,
	Belfast is considered the safest city for a Bush/Blair top,
	France is accusing the US of arrogance
	and germany doesn't want to go to war."
	
	CPANPLUS	http://cpanplus.sf.net


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About