Permalink
Browse files

Add accessors to XML::Liberal::Remedy base class

  • Loading branch information...
1 parent b6fcb7a commit 685c8eb70c90fea531da3d91bc1f7f83388deea7 @arc arc committed Jun 8, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/XML/Liberal/Remedy.pm
@@ -2,6 +2,8 @@ package XML::Liberal::Remedy;
use strict;
use base qw( Class::Accessor );
+__PACKAGE__->mk_ro_accessors(qw( driver error error1 error2 line pos ));
+
sub new {
my $class = shift;
my($driver, $error, $error1, $error2) = @_;

0 comments on commit 685c8eb

Please sign in to comment.