wbDo is broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Woda |
Fix Released
|
High
|
Xavier Brochard |
Bug Description
I've tracked the problems I had recently to a bug in the wbDo subroutine. The subroutine is missing the keyword REQUIRE.
If you are using v4.6.10 you should replace wbDo with the version below.
The following files are affected:
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
sub wbDo { # do a cgi action ... load appropriate file first
$_=shift (@_);;
require "$WodaLibDir/$_.pl" unless defined &$_; # load
&$_(@_); # execute
}
Changed in woda: | |
importance: | Undecided → High |
known bug, already fixed in trunk and in 4.620-xavier branch
see revision 75 (2009-10-09):
"Add require instead of nothing (was do) in sub wbDo. It works without but it
shouldn't, according to perl doc"
Xavier
<email address hidden> - 09 54 06 16 26