File: Large.pm

package info (click to toggle)
libcatalyst-perl 5.90132-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,016 kB
  • sloc: perl: 11,061; makefile: 7
file content (16 lines) | stat: -rw-r--r-- 293 bytes parent folder | download | duplicates (4)
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::Controller';

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;