version 1.19, 2010/01/18 02:46:48 |
version 1.23, 2010/01/22 01:30:45 |
|
|
package Text::Todo; |
package Text::Todo; |
|
|
# $AFresh1: Todo.pm,v 1.17 2010/01/12 20:09:02 andrew Exp $ |
# $AFresh1: Todo.pm,v 1.22 2010/01/19 18:53:36 andrew Exp $ |
|
|
use warnings; |
use warnings; |
use strict; |
use strict; |
|
|
use Text::Todo::Entry; |
use Text::Todo::Entry; |
use File::Spec; |
use File::Spec; |
|
|
use version; our $VERSION = qv('0.0.1'); |
use version; our $VERSION = qv('0.1.1'); |
|
|
{ |
{ |
|
|
my %path_of; |
my @attr_refs = \( |
my %list_of; |
my %path_of, |
my %loaded_of; |
|
|
|
|
my %list_of, |
|
my %loaded_of, |
|
); |
|
|
sub new { |
sub new { |
my ( $class, $options ) = @_; |
my ( $class, $options ) = @_; |
|
|
|
|
} |
} |
|
|
croak "Invalid entry [$entry]!"; |
croak "Invalid entry [$entry]!"; |
|
} |
|
|
|
sub DESTROY { |
|
my ($self) = @_; |
|
my $ident = ident $self; |
|
|
|
foreach my $attr_ref (@attr_refs) { |
|
delete $attr_ref->{$ident}; |
|
} |
|
|
|
return; |
} |
} |
} |
} |
|
|