| 1 | #!/usr/bin/perl -w | ||
| 2 | package Sakai::Nakamura; | ||
| 3 | |||
| 4 | 8 | ▶ | use 5.008008; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 8 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 8 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 8 | ▶ | use Carp; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 8 | ▶ | use base qw(Apache::Sling); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 8 | require Exporter; | |
| 10 | |||
| 11 | 8 | ▶ | use base qw(Exporter); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | |||
| 13 | 8 | our @EXPORT_OK = (); | |
| 14 | |||
| 15 | 8 | our $VERSION = '0.13'; | |
| 16 | |||
| 17 | #{{{sub new | ||
| 18 | 7 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
documented
| |||
| 19 | 7 | my ( $class, @args ) = @_; | |
| 20 | 7 | my $nakamura = $class->SUPER::new(@args); | |
| 21 | |||
| 22 | # Set the referer so that nakamura POST requests will work: | ||
| 23 | 7 | $nakamura->{'Referer'} = q{/dev/integrationtests}; | |
| 24 | |||
| 25 | 7 | bless $nakamura, $class; | |
| 26 | 7 | return $nakamura; | |
| 27 | } | ||
| 28 | |||
| 29 | #}}} | ||
| 30 | 8 | 1; | |
| 31 | __END__ | ||