Barry King > Apache-Wyrd > Apache::Wyrd::FileSize

Download:
Apache-Wyrd-0.98.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.98   Source  

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.

syntax highlighting: