On Fri, 30 Apr 2004, Kevin A. McGrail wrote: > if (-s "$entity->bodyhandle->path" <= $sizelimit) { $entity should always be defined, but $entity->bodyhandle or $entity->bodyhandle->path might not be -- you need to check both. Regards, David.