Archive for September 16th, 2007
Trim Function in Perl
Sunday, September 16th, 2007 at 10:39 pm
Perl has no built-in “trim” function so you have to write your own using search and replace and regular expression matching. Below is simple trim function that will remove spaces from the beginning and end of any string …read more »



