File: Glade.pm

package info (click to toggle)
libvalidation-class-perl 7.900059-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,480 kB
  • sloc: perl: 21,493; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 268 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package MyVal::Plugin::Glade;

sub new {

    my ($self, $proto) = @_;

    $proto->stash(smell  => \&smell);
    $proto->stash(squirt => \&squirt);
    $proto->set_method(squash => sub {'abc'});

    return bless {}, $self;

}

sub smell  {'Good'}
sub squirt {1}

1;