The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Apache::Wyrd::FileSize - Display a File's Size

SYNOPSIS

  <P>
    <a href="/sounds/nanny.ogg">Bathtub Song</a>&#151;size:
      <BASENAME::FileSize file="/sounds/nanny.ogg" />
  </p>

DESCRIPTION

Looks up and displays the size of a file. Files are rounded to the closest 2 decimal points and are put in kilobytes or megabytes as appropriate.

HTML ATTRIBUTES

file

File to look up. Given in absolute path from the directory root.

BUGS/CAVEATS/RESERVED METHODS

Reserves the _format_output method.

AUTHOR

Barry King <wyrd@nospam.wyrdwright.com>

SEE ALSO

Apache::Wyrd

General-purpose HTML-embeddable perl object

LICENSE

Copyright 2002-2007 Wyrdwright, Inc. and licensed under the GNU GPL.

See LICENSE under the documentation for Apache::Wyrd.