Nicely display a reference to something (hash, array or scalar) in Perl

Below is a little function to display a reference to mainly a hash, array or scalar in Perl:

Code:

use strict;
use warnings;

our $indentationString = "    ";

sub recursive_ref_string
{ Continue reading 
Advertisements

Lower and underscore identifiers to CamelCase identifiers

Below you’ll find a perl script that will let you replace identifiers written with lower case and underscore characters with lowerCamelCase or UpperCamelCase identifiers.

Any improvement much appreciated !
Continue reading