Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'updated version of script' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
updated version of script
Authored by: osxpounder on Aug 22, '06 03:38:12PM
When I try to run this command, in Terminal, I get an error. Knowing nothing about Perl scripts, I'll just show you what I typed as a command, and then the error, in hopes you can tell me what I'm doing wrong. I typed:
./watchfile.perl.script ~/Library/Preferences/com.apple.* > ~/myoutput.txt &
Then Terminal displayed:
Bareword "O_RDONLY" not allowed while "strict subs" in use at ./watchfile.perl.script line 283.
As far as I can tell, line 283 is as follows:
sysopen(FILE, $filename, O_RDONLY)


[ Reply to This | # ]
updated version of script
Authored by: hayne on Dec 11, '06 08:42:56AM
Sorry, somehow the updated version of that script was missing one line.
I have now fixed it.
(http://hayne.net/MacDev/WatchFile/)

[ Reply to This | # ]