push (@found, {name => $1}) if(/*.pm/);Except that this won't even compile and if it did, then it would be pointless to use $1 for there are no capturing parens. Hint: regexen are not shell patterns.
Hint no. 2: post real code when asking for help.
PS: slight smell of XY here...
In reply to Re: sort on values in an array of hashes
by blazar
in thread sort on values in an array of hashes
by kprasanna_79
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |