Subject: | Alzabo::Config::available_schemas - glob may be resulting in error |
Running Apache2, mod_perl2.
Wanting to understand, tryout Alzabo, I have started with
Alzabo::GUI::Mason. It is up working. However I noticed that the two
schemas that exist, will alternately display one or the other or both.
I've traced it down to the glob in Alzabo::Config::available_schemas.
Spliting apart the single -d, -r, glob conditional and placing the glob
values into an array, then testing the array element count seems to kill
the problem. The man page for glob aludes to different responses in
scalar and list context, and that in a "scalar context, glob iterates
through such filenae expansions, returing undef when the list is
exhausted." So seems that there is some state, along with different
httpd serving each time, is a problem.