Perl Print Benchmark

This is a little Benchmark about the print function in Perl with var and constant.

Our first result let us see that you should use constants if possible, this makes your program faster and clear.In the other case you should interpolate the variable into the string.

Its faster to use the direct n but i think in some cases its better to use the default $/ variable.

I made the last to show you the differences you could use the way you like.

Perl simple Data Dumper for References

I wrote a debugger for Perl just for fun, he could print hash,array,skalar in a terminal way or with parameters its also possible to make a html.

Our first result is the html it looks like this:

then we have the output from the hash in the terminal :

then array:

then at last the skalar:

this is pretty cool 😉