Hi Everyone,
I'm new to this forum. I'm just starting to use Perl and I know how to read a line from a file and that it gets stored in "$_". I also know how to search for a string within $_. What I can't figure out is when that string is found, how do I get (or print) just that string from within the line? Any help would be appreciated. Thanks.
I'm new to this forum. I'm just starting to use Perl and I know how to read a line from a file and that it gets stored in "$_". I also know how to search for a string within $_. What I can't figure out is when that string is found, how do I get (or print) just that string from within the line? Any help would be appreciated. Thanks.