A utility function that returns either the filehandle passed in (if defined) or a IO::Handle to STDOUT or the specified destination (which is a fileno(filehandle)).
It would be nice to make this function more general (e.g., what about stdin or stderr? a specified file?).
Ensure no dups in the list (or list reference) we get.
The return value is either the list or a reference to a copy of the list, depending on the calling context. The list will have been sorted as a side effect.
Return a filehandle. If the argument is a file name, we will open the file with the method specified, for reading if unspecified. If the argument is a filehandle, it is simply returned.
Split the value using the pattern given. For each of the resulting pieces, prepend "$name: ". This function is used when there are a collection of values for a given name (e.g., q-values, accept values).
Copyright 2005-2007, Kenneth Ingham. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Address bug reports and comments to: ids_test at i-pi.com. When sending bug reports, please provide the versions of IDS::Test.pm, IDS::Algorithm.pm, IDS::DataSource.pm, the version of Perl, and the name and version of the operating system you are using. Since Kenneth is a PhD student, the speed of the reponse depends on how the research is proceeding.
Please report them.
IDS::Algorithm, IDS::DataSource
To install IDS::Utils, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IDS::Utils
CPAN shell
perl -MCPAN -e shell install IDS::Utils
For more information on module installation, please visit the detailed CPAN module installation guide.