SPUG: Filehandes -- slurping up the files in \folder\*.htm?

Sean Owens (Entex) a-seano at microsoft.com
Wed Feb 9 18:51:44 CST 2000


I'm sure there's a very simple answer, but I'm still a bit new at this perl
stuff...
 
I want to sequentially read in all the files in a directory (there aren't
_that_ many, but I'm lazy and don't want to create a hash with all the
filenames listed), munge them, and save them out (then open the next one...
etc.).  Can I assign a variable to a filename on a server, or can I open it
some other way?  In this case my script always runs, and always processes
the files every 5-10 mintues
 
Even better, I'd like to have the munging happen only on change, so my
script always runs and only processes whenever necessary.  Now I'm really
out of my depth!
 
To make this even more fun (as you might guess from my email), I'm on a
Win32 system.
 
Can anyone point me in the right direction to get me started?  thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/archives/spug-list/attachments/20000209/64d0a31d/attachment.htm


More information about the spug-list mailing list