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

Re: [MacPerl] -s File Test Operator



At 03.21 -0400 1998.07.21, Jeff at MacTech wrote:
>I discovered for myself, and now see in the book errata, that -s returns
>the size of the data fork and not the entire file. Is this a bug or a
>feature? It seems that the expected behavior is to return the size of the
>whole file.

I'd just call it a "behavior".  At worst, I suppose you could call it a
misfeature or poor decision, because it was probably intentional.

Matthias, is there any reason not to change this to do data+resource forks?

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch