~ubuntu-branches/ubuntu/precise/padre/precise

« back to all changes in this revision

Viewing changes to t/files/Debugger.pm

  • Committer: Bazaar Package Importer
  • Author(s): Damyan Ivanov
  • Date: 2010-05-08 09:17:22 UTC
  • mfrom: (1.2.1 upstream) (10.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20100508091722-y6008jtk0ap6znyn
Tags: 0.60.ds1-3
rules: run tests with HOME=$fake_home to avoud failing when $HOME points
to a non-existent location. Closes: #579289

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package t::files::Debugger;
 
2
use strict;
 
3
use warnings;
 
4
 
 
5
sub new {
 
6
        my ($class, %args) = @_;
 
7
        my $self = bless \%args, $class;
 
8
        
 
9
        return $self;
 
10
}
 
11
 
 
12
sub set_xyz {
 
13
        my ($self, $value) = @_;
 
14
        $self->{xyz} = $value;
 
15
        return;
 
16
}
 
17
 
 
18
sub get_xyz {
 
19
        my ($self) = @_;
 
20
        return $self->{xyz};
 
21
}
 
22
 
 
23
1;