-
Archives
- April 2017
- April 2016
- July 2015
- November 2014
- October 2014
- June 2014
- May 2014
- January 2014
- December 2013
- October 2013
- April 2013
- April 2012
- October 2011
- July 2011
- April 2011
- March 2011
- February 2011
- May 2010
- April 2010
- January 2010
- October 2009
- June 2009
- May 2009
- April 2009
- February 2009
- October 2008
- September 2008
- August 2008
- July 2008
- January 2008
- December 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
-
Meta
Category Archives: Programming
PERL How To Print A List Without A Loop
PERL has a built-in function called join() that will concatenate a list with a given string. The official perldoc states: join EXPR,LIST Joins the separate strings of LIST into a single string with fields separated by the value of EXPR, … Continue reading
Posted in How Tos, perl, Programming, Software
Leave a comment
perl howto push a hash onto an array
This could also be called how to make an arrays of hashes. The basic idea is to create a list of items that when iterated, returns individual hashes. use Data::Dumper; my @array; push @array, {‘key1’ => ‘value1’, ‘key2’ => ‘value2’}; … Continue reading
Posted in How Tos, perl, Programming
2 Comments
Quick Character Escaping in PHP
When writing PHP web apps, I tend to run in to a portability issue when dealing with SQL connectivity. Since I can’t count on having the PEAR DB module available, I rolled my own set of functions to interact with … Continue reading
Posted in php, Programming, SQL
Leave a comment