more useful options | |
PerlMonks |
Re: How to do a blocking readdir or similarby merlyn (Sage) |
on Dec 19, 2005 at 03:12 UTC ( [id://517657]=note: print w/replies, xml ) | Need Help?? |
POSIX doesn't provide such a hook, so most unix-like systems also don't have such a hook. Your solution of polling is probably the best portable solution.
However, if you're smart enough with AppleScript, you can attach an applescript action to a folder drop, which can then launch your Perl program. I'm not that smart, or I'd point you at a ready solution. -- Randal L. Schwartz, Perl hacker
In Section
Seekers of Perl Wisdom
|
|