in reply to perl - detect device connected
On Linux you would typically be using hotplug, there is no reason why you shouldn't be able to write an 'agent' in Perl as far as I can see, or alternatively you could run a Perl program from an existing 'agent' script.
/J\
In Section
Seekers of Perl Wisdom