Not any more. The syntax has changed. Alan had it right: use Mac::Files; $has = FSpGetCatInfo($file); $total = $has->ioFilLgLen + $has->ioFilRLgLen; They are now procedures and not simple hash elements. --- begin quoted text >Does anyone remember how to get the total file size? -s just returns the >data fork size. > >-- >Chris Nandor pudge@pobox.com http://pudge.net/ [stuff deleted] I don't know that there is a short cut flag :-( the only way I know is: $has = FSpGetCatInfo($fil); $total += $has->{ioFlLgLen} + $has->{ioFlRLgLen}; Tom. Tom Kimpton -- Mrs. Bun: Have you got anything without spam? Waitress: Well, there's spam egg sausage and spam, that's not got much spam in it. Mrs. Bun: I don't want any spam! --- end quoted text ------- Paul J. Schinder schinder@pobox.com ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch