PDL::Bugs - How to diagnose and report PDL problems
This module explains how to get help with a PDL problem and how, when, and where to submit a bug report. In the future it may be extended to provide some sort of automated bug reporting capability.
The primary resource for support for the Perl Data Language is via the PDL mailing lists. The pdl-general list is for general use and discussions and is the one to use for questions about problems with PDL or PDL use for computation. This is almost always the list to post to for PDL problems.
The pdl-devel list is specifically for PDL development and often contains discussions of a rather technical nature relating to PDL internals. This is not the list for general PDL discussion or questions: http://pdl.perl.org/?page=mailing-lists.
NOTE: Both pdl-general and pdl-devel are read by the PDL developers so you don't save time or increase the probability of response by posting to pdl-devel or by cross-posting to pdl-devel. Please stick to pdl-general list posts unless you want to talk PDL implementation and development.
NOTE: There is also a PDL IRC channel which can be useful for immediate questions if populated. However, it has the big disadvantage of not being easily searched or routinely read by all PDL developers and users. As a result, if you get an answer there, it may be incorrect or incomplete depending on who happens to be chatting at the time. It is definitely not readily searchable.
Please submit bug reports via the GitHub issue tracker at https://github.com/PDLPorters/pdl/issues.
where you can review the previously submitted bug reports. Click on
New issue to generate a bug report. If you do not already have a GitHub account, you will need to create one to submit the report.
Try to include any information you think might help someone isolate, reproduce, and fix your problem.
At a minimum, include the following information:
PDL version number (e.g. PDL-2.007)
Perl version information. Output from
perl -V(even better!)
Your operating System. You can run the
uname -acommand on many unix systems
The full output of
If you are reporting a bug with an already installed PDL. If the PDL has compiled and built but not been installed, you may run
perl -Mblib perldl -Vfrom the top level of the PDL build directory.
The bug description and how to reproduce it.
Short examples using the PDL shells,
perldl, are excellent! Don't forget to include needed input data (as small as possible) so that the code can be run with a cut and paste.
Other things that are often helpful:
Details about your operating environment that might be related to the problem
Exact cut and pasted error or warning messages
The shortest, clearest code you can manage to write which reproduces the bug described.
A patch against the latest released version of this distribution which fixes this bug.
Alternatively, send an e-mail report with the above information (including the output of
perldl -V) to the pdl-devel mailing list. See http://pdl.perl.org/?page=mailing-lists for info on how to subscribe to this list.
BEFORE you report a bug make sure you got the latest release version of PDL, always available from CPAN, check http://metacpan.org/pod/PDL.
Also, you can check the FAQ at http://pdl.perl.org/?docs=FAQ&title=PDL::FAQ. and the mailing list archives for hints. You can find links to the searchable archives at http://pdl.perl.org/?page=mailing-lists.
and there is a Google enable search box on the top right of http://pdl.perl.org which usually gives the best results.
Patches can be submitted in several ways, in order of decreasing preference:
Fork the pdl repository on GitHub, make and test your changes, and submit a pull request;
Edit (or suggesting an edit to) the files in-place on GitHub;
Email a patch to the pdl-devel mailing list.
Patches should be made against the latest released PDL or, ideally, against the current git sources which you can browse and check out at https://github.com/PDLPorters/pdl.
Thanks, The PDL developers.