view _test/temp.pl @ 95:67eb8eaec3d4

Added a security authority property to the Context and Security classes Added a WriteResponse method to the SecureCookie class Added a setCookie method to the Response class
author wizard
date Thu, 29 Apr 2010 02:21:27 +0400
parents 0667064553ef
children 964587c5183c
line wrap: on
line source

#!/usr/bin/perl
use strict;

package Boz;

sub run {
	my ($self,$code) = @_;
	
	$code->('Boz');
}

sub speak {
	my ($self,$str) = @_;
	print "Boz: $str";
}

sub type {	$_[0]; }

print type Boz;