Mercurial > pub > Impl
view _test/temp.pl @ 94:79bf75223afe
Fixed security related bugs
author | wizard |
---|---|
date | Thu, 29 Apr 2010 01:31: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;