diff options
| author | Paul Buetow <paul@buetow.org> | 2011-04-26 19:28:46 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2011-04-26 19:28:46 +0000 |
| commit | 21a386d7b9f436c667a25bcca624bec65d68ea27 (patch) | |
| tree | 9b727f35d5f67b96987f263a11ccc81769583826 /Xerl/XML | |
| parent | ccb7c2eb7aabf4e127a9d7c7ab47fba33c5ea5e0 (diff) | |
fixed a bug (returning 0 if success now)
Diffstat (limited to 'Xerl/XML')
| -rw-r--r-- | Xerl/XML/Reader.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xerl/XML/Reader.pm b/Xerl/XML/Reader.pm index ba2e57c..9130806 100644 --- a/Xerl/XML/Reader.pm +++ b/Xerl/XML/Reader.pm @@ -44,7 +44,7 @@ sub open($) { return -1 if -1 == $xmlfile->fslurp(); $self->set_array( $xmlfile->get_array() ); - return undef; + return 0; } sub parse($) { |
