Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Detect Plugged USB Flash Drive / CD in CDROM Driveby cdarke (Prior) |
on Nov 27, 2008 at 15:32 UTC ( [id://726429]=note: print w/replies, xml ) | Need Help?? |
You probably want to use an inotify on the /mnt or /media directory. Try Linux::Inotify (I have no experience of that module myself)
In Section
Seekers of Perl Wisdom
|
|