Displaying the Git branch in the terminal prompt with and without Perl
Where am I again? No more typing "git branch"
The ultimate guide to Windows and Unix file line ending conversion in Perl
Think you know how to fix CRLF in one line of Perl? There might be more to it than you think ...
How to redirect and restore STDOUT
STDOUT is the Perl filehandle for printing standard output. Unless a filehandle is specified, all standard printed output in Perl will go to the terminal. Because STDOUT is just a global variable, it can be redirected and restored. Want to implement logging on a program without changing every print statement in the source code? Want to capture the standard output of a perl CRON job? Read on.
3 quick ways to find out the version number of an installed Perl module from the terminal
Perl module features and behaviour can change from version to version and so knowing the version number of an installed Perl module can be useful in several scenarios. Below are three different command line methods for finding out the version number of an installed module that work on Bash and Windows Powershell. So fire up the terminal and get typing!