|
From: Ilya M. <m_...@us...> - 2003-03-26 17:16:51
|
Update of /cvsroot/perl-xml/XML-LibXML-XPathContext
In directory sc8-pr-cvs1:/tmp/cvs-serv1575
Modified Files:
XPathContext.pm
Log Message:
Cosmetic fixes
Index: XPathContext.pm
===================================================================
RCS file: /cvsroot/perl-xml/XML-LibXML-XPathContext/XPathContext.pm,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- XPathContext.pm 26 Mar 2003 17:14:52 -0000 1.14
+++ XPathContext.pm 26 Mar 2003 17:16:46 -0000 1.15
@@ -38,9 +38,7 @@
sub findvalue {
my ($self, $xpath) = @_;
- my $res;
- $res = $self->find($xpath);
- return $res->to_literal->value;
+ return $self->find($xpath)->to_literal->value;
}
sub find {
|