In the first step, i read in a line and chop it up on the "space" delimeter into @parts.
You also chomp the line which isn't required because (.*) will not match a newline.
And you are using the /o option which is superfluous because there are no variables in the pattern to interpolate.
In reply to Re^2: Am I doing Greedy Matching?
by jwkrahn
in thread Am I doing Greedy Matching?
by vishi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |