NGS::Tools::BAMSurgeon::Helper - A convenience module for importing general perl usefulness
use NGS::Tools::BAMSurgeon::Helper; # We are now using strict, warnings, Carp, File::ShareDir, File::pushd, MooseX::Params::Validate # You also have access to the following functions: # Like print, but includes a newline automatically say("Hello!"); # both of these pretty print variable contents, even if they are arrays, hashes, nested, etc. # (formatted printing via Data::Dump) pretty_print(\@my_array); # [2, 3, { 5 => 7 }] dump(\@my_array); # [2, 3, { 5 => 7 }] # This lists all loaded modules, their versions, and the path they're loaded from show_modules(); # "NGS::Tools::BAMSurgeon::Helper" => [ # "0.1.0", # "/u/me/lib/NGS/Tools/BAMSurgeon/Helper.pm", # ], # "Carp" => [ # 1.32, # "/sw/perl/lib/site_perl/5.18.1/Carp.pm", # ], # ... # This lists @INC, the search path for modules, in a nice format show_inc(); # [ # "/u/me/repos/modulename/blib/lib", # ".", # ... # ]
To install NGS::Tools::BAMSurgeon, copy and paste the appropriate command in to your terminal.
cpanm
cpanm NGS::Tools::BAMSurgeon
CPAN shell
perl -MCPAN -e shell install NGS::Tools::BAMSurgeon
For more information on module installation, please visit the detailed CPAN module installation guide.