Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl --
    use strict;
    ...
    print "Content-disposition: attachment; filename=big-test.csv\n\n";
    print "Test,One,Two,Three\n";
    exit;
    
  2. or download this
    my $app = sub {
        return
    ...
            ]
        ];
    };
    
  3. or download this
    #!/usr/bin/perl --
    use strict;
    ...
        -Content_length => -s $filehandle,
    );
    ...
    
  4. or download this
    #!/usr/bin/perl --
    use strict;
    ...
        -Content_length => -s $filehandle,
    );
    ...