When I run your code as it stands I get this:
$ perl 1197154.pl aaa22 22 22 aaa22 aaa22 aafsdfsdfa22
How does this output differ from what you expect/want?
If you want the same output but by some other means, then you would need to be a lot more specific about what those other means might be.
In reply to Re: A line of code matches the question
by hippo
in thread A line of code matches the question
by *2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |