At 11.10 -0400 1998.08.04, Kevin Reid wrote: >> In article <mac-perl.35b69f57.3212343@mailhost.tornado.be>, >> bart.mediamind@tornado.be (Bart Lateur) wrote: >> >> >On Tue, 21 Jul 1998, Jeff at MacTech wrote: >> > >> >>On the other hand, if -s is supposed to return the size of a file, it >> >>doesn't do that. >> >> This is a little after-the-fact, but I wonder if the parser would choke on >> a two-letter command, for instance -ss for total file size? > >The second s would probably be treated as a substitution. How about -a >(for 'all' of the file) instead? I think adding file test operators would be Bad. I think a simple function or two or three added to Mac::Files would be best. use Mac::Files; $tot = total_size($file); $res = res_size($file); $dat = dat_size($file); Of course, the name is very important. If we choose a name like above we risk breaking old code. -- 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