Menu

#1 Wiz-Util-System

open
nobody
None
5
2008-05-22
2008-05-22
Anonymous
No

Test Error occured and anyone can't use the module: Wiz::Util::System.pm.

143 =head2 get_package_version 1.0
144 Returns aversion 1.0of a perl module.
145
146 =cut
147
148 sub get_package_version 1.0{ # <-- ???
149 my ($package) = @_;
150 local ($@, $!);
151 eval "require $package";
152 if ($@) { return undef; }
153 else { $package->VERSION; }
154 }

t/util/00-load..............................6/?
# Failed test 'use Wiz::Util::System;'
# at t/util/00-load.t line 22.
# Tried to use 'Wiz::Util::System'.
# Error: Illegal declaration of subroutine Wiz::Util::System::get_package_version at /home/watase/svn/module/Wiz/blib/lib/Wiz/Util/System.pm line 148.
# Compilation failed in require at (eval 821) line 2.
# BEGIN failed--compilation aborted at (eval 821) line 2.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.