Finding a Perl Module Version

perl -MYourModule 999
perl -MYourModule -e 'print "$YourModule::VERSIONn"'

For example,

perl -MNet::SSLeay 999
perl -MNet::SSLeay -e 'print "$Net::SSLeay::VERSIONn"'

Note

  • In first command, no space between and module name.
  • In second command, use $ before module name.

Update all CPAN module to latest versions

Quick answer by command line

cpan-outdated -p | cpanm
# if you have not installed cpan-outdated
cpanm App::cpanoutdated

# or, you have not even installed cpanmin.us
curl -L http://cpanmin.us | perl - App::cpanminus

More in details.

Perhaps, you would like to turn off confirmation.

MySQL

Tips & Tricks: Simple and basic

More Tips & Tricks

Tools

  • MySQL workbench (manual)
  • MySQL monitor (command line)

Digests

References

JavaScript Medley

I meet good JavaScript libraries, frameworks, and related tools from time to time, but never get a chance to look into or write down my experiences with them. So, I put such tools here for future use.  I also put some good articles about JavaScript here.

Framework

Template engine

Visualization

  • Chart.js: Easy, object oriented client side graphs for designers and developers
  • dygraphs: a fast, flexible open source JavaScript charting library
  • xChart (d3 based): bar chart, time-series line, with interactive feature
  • C3.js (d3 based): bar chart, spline chart
  • dimple (d3 based, recommended): bar, scatter, bubble, line, area charts
  • Rickshaw (d3 based, recommended): many
  • NVD3 (d3 based, recommended): many
  • jsPhylogSVG: plot tree in SVG format. It takes different tree formats such as newick and phyloxml, but for better and customized appearance, you would better use phyloxml. You can customize the appearance by either JavaScript or XML or both.
  • InfoVis toolkit: interactive data visualization
  • BioJS (developed by EMBL-EBI): reusable components for presenting biological data
  • Tool list

Misc.

JS tips & bites

JS Digests

  • Callback functions (here)