Various of the PDL demo programs only work
if their prerequisites are present. The demo
list would be better generated dynamically so
that users would not see demos they couldn't
run. This might also allow for a command line
demo program as well...
Ticket moved from /p/pdl/feature-requests/74/
Specific examples: with no PGPLOT installed, the following demos don't work:
pgplot, OOplot, transform, cartography, and bad2. If the demos could use an
alternate plotting package, that would help.
As a side note, the demos need to be written so they fail better at runtime rather than with cryptic backtraces from the perl compilation. This is arguably not the pretty thing to show new PDL users. :-)
Some nice polish that would be good to include in PDL-2.008
This is enough messy that we'll put off post-PDL-2.008 where a general refactoring of the demo infrastructure will make this cleaner and clearer as to how to proceed.