Why the braces in @{temp}? That might be indicative of some other problem.
See How to ask better questions using Test::More and sample data
In reply to Re: issue in regular expression
by hippo
in thread issue in regular expression
by maheshganesh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |