http://qs321.pair.com?node_id=10342


in reply to Trying to display subcategories and counts

That is not a native perl solution, but it is rather short and graceful, IMHO :):
@subcats = sort(`grep $Catname $file | cut -f 2 -d '|'`);
--
With best regards
Maqs.