in reply to sort on values in an array of hashes
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...
|
|---|