File: Large.pm

package info (click to toggle)
libcatalyst-perl 5.7014-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,276 kB
  • ctags: 874
  • sloc: perl: 11,270; makefile: 48
file content (16 lines) | stat: -rw-r--r-- 288 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package TestApp::Controller::Engine::Response::Large;

use strict;
use base 'Catalyst::Base';

sub one : Relative {
    my ( $self, $c ) = @_;
    $c->res->output( 'x' x (100 * 1024) ); 
}

sub two : Relative {
    my ( $self, $c ) = @_;
    $c->res->output( 'y' x (1024 * 1024) );
}

1;