ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-win32-users
perl-win32-users
Re: Determing if a file has changed
by Alan Dickey other posts by this author
Jan 31 2003 4:55PM messages near this date
view in the new Beta List Site
RE: Determing if a file has changed | Re: Determing if a file has changed
Neil wrote:
>  
...
>  
>  Thanks jpt ... I am familiar with ChangeNotify - but its not really what I
>  want....
>  
>  Basically, I want to open a file, read the contents, and munge the data and
>  write it out to a second file.
>  
>  BUT ... if the original data file changes - I'd like to reparse/remung
>  before writing.

How about write-locking the file while you are reading and munging it?
That way you can be sure no one will modify it while you are working
on it.
If this is unworkable, maybe you can share more of the problem context
with us...


-- 
Alan F. Dickey - Interaction and Realization
http://www.intac.com/~afdickey
mailto:afdickey@[...].com
VOX: 908-273-3232 Cell: 908-334-0932

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Neil
Alan Dickey
$Bill Luebkert

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved