OT:Perl on Windows
John Macdonald
john-Z7w/En0MP3xWk0Htik3J/w at public.gmane.org
Fri Mar 11 20:43:43 UTC 2005
On Fri, Mar 11, 2005 at 12:37:48PM -0500, Alex Beamish wrote:
> On Fri, 11 Mar 2005 12:19:19 -0500, William O'Higgins
> <william.ohiggins-H217xnMUJC0sA/PxXw9srA at public.gmane.org> wrote:
[ ... ]
> > I'll try. Here's the example program:
[ ... ]
> > I get this error on run:
> >
> > syntax error ... near ") {"
> >
> > *and* test.txt doesn't get created, but there are no complaints.
> > Something is wrong, but I'm just not sure what. Any suggestions?
>
> Well, a couple. ;)
In addition to Alex's points, I'd explicitly point out that the
"syntax error" message is critical to the problem. It means
that the perl compiler couldn't understand the code text,
so instead of executing the program, it described where it
got confused and quit.
--
--
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