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….
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…
Copyright © 2022 /var/logs/paulooi.log
Powered by WordPress and Origin