On 13 Feb 2009, at 13:05, Andy Wardley wrote: > For example: > > use Badger::Constants 'ARRAY HASH'; > > if (ref $foo eq ARRAY) { > ... > } > elsif (ref $foo eq HASH) { > ... > } I like this a lot. -- Andy Armstrong, Hexten