Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the Alzabo CPAN distribution.

Maintainer(s)' notes

Not really maintained any more. Interested in taking it over? Email the author.

Report information
The Basics
Id: 28312
Status: resolved
Priority: 0/
Queue: Alzabo

Owner: Nobody in particular
Requestors: otto.hirr [...]

Bug Information
Severity: Normal
Broken in: 0.91
Fixed in: 0.92

Subject: Alzabo::Config::available_schemas - glob may be resulting in error
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Type: text/plain; charset="utf8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 750
Download (untitled) / with headers
text/plain 750b
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.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to