Help for this page

Select Code to Download


  1. or download this
    $template = Template->new({
        FILTERS => {
            'pretty_size' =>   \&pretty_size,
        },
    });
    
  2. or download this
    __PACKAGE__->config({
        #...existing config...
    ...
            'pretty_size' =>   \&pretty_size,
        },
    });
    
  3. or download this
    <td>[% kilobytes | pretty_size %]</td>