in reply to Re: Pulling white space off before/after string?
in thread Pulling white space off before/after string?

you probably mean:
$my_data_line =~ s/^\s+|\s+$//g;