Perl, Trim White Space from a String
When we grep a bunch of string, there are white spaces where we wish to trim, especially the white space at the beginning and the end of a string. There is no trim function in Perl like trim in PHP….
Open file and Splitting String in Perl
What I gonna do is to read a bunch of data from a file, and perform some data processing from the string. split() is the Perl function which I will use for filtering the data. open for reading a file…
Recent Comments