OT:Perl on Windows

Alex Beamish talexb-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Fri Mar 11 16:42:52 UTC 2005


On Fri, 11 Mar 2005 11:12:34 -0500, William O'Higgins
<william.ohiggins-H217xnMUJC0sA/PxXw9srA at public.gmane.org> wrote:
> I am doing some mechanical text processing at work, and it seemed to me
> that I could do it with Perl, but now I'm not so sure.
> 
> Does anyone have any advice for some who wants to write a program like
> this on Windows:
> 
> open an input file
> read file contents into string
> run regex on string
> open an output file
> print string to output file
> 
> On a proper OS it would be easy - there might be permission problems,
> but I could overcome.  The problem right now seems to be that my program
> cannot read the contents of a file, nor can it create an output file.
> Any suggestions?

>From a functional point of view, awk or Perl will do this just fine.

However, your comment that 'your program' (whatever that is) cannot
read the file, nor is it able to create an output file, suggests
something is not right. Can you explain?

Alex
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list