|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re: How to do a blocking readdir or similarby BorgCopyeditor (Friar) |
| on Dec 18, 2005 at 22:31 UTC ( [id://517659]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Which version of OS X? This is probably a job for so-called "Folder Actions" (10.3 Panther and later) which allow you to fire off a script in response to adding files. Then you'll need a bit of AppleScript (using "on adding folder items") that fires off your perl script (using "do shell script"). A good PerlMonks-ish site to look for this sort of thing is http://bbs.applescript.net. Good luck.
BCE
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||