Skip Menu |
 

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

People
Owner: Nobody in particular
Requestors: otto.hirr [...] olabinc.com
Cc:
AdminCc:

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



Subject: Alzabo::Config::available_schemas - glob may be resulting in error
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 Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.