in reply to Re: CSV file to C file conversion using perl
in thread CSV file to C file conversion using perl

Damn, I forgot. You must delete END from the end.  s/\A \s+ | \s* (END)? \z//gx