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

Re: [MacPerl] -s File Test Operator



A question.  (Given that everything in Perl is an operator, including the
"functions", perhaps it's not too strange to consider this operator a
function?)

Could -s (under MacPerl) be modified slightly to return the size of the
data fork (as it currently does) if called in scalar context, and the size
of both forks if called in list context?

Is that too off the wall?

Knowing nothing about the implementation... :-)

- Vicki
---
Vicki Brown, vlb@cfcl.com        |\      _,,,---,,_
Journeyman Sourceror      ZZZzz /,`.-'`'    -.  ;-;;,_
Scripts & Philtres             |,4-  ) )-,_. ,\ (  `'-'
http://www.cfcl.com/~vlb      '---''(_/--'  `-'\_)
P.O. Box 1269 San Bruno, CA  94066

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