Hi there, could someone please help me understand how to chop off a leading space from my line parsing. I've been researching it and have not found a satisfactory answer yet. My output is correct apart from a leading space. I can process the data again against "s/ //g" but felt that I should understand what I'm missing in my understanding of the code line and how to further manipulate the output. Thanks
my @cnfcputypes = (split /,/, ((split /\:/, ((grep /types/, @emscpu)[0]))[1]));In reply to Manipulation of output of multiple parse line. by flynnbg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |