Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Extract lines by name
- Fred Hare
July 29, 2005, 11:25 pm
rate this thread
Re: Extract lines by name
^^^^^^^^^^^ 2 open curlies, 2 close curlies
That may have been your intention, but I think you were not using
that exact code.
When you put it into your Perl program, did you copy/paste it,
or did you (attempt to) retype it?
^^^^^^^^^ 2 open curlies, *1* close curly!
(don't retype messages either, use copy/paste to avoid introducing typos.)
That one is not an error message. It is a warning message.
You can look up both error and warning messages in:
To help fix a syntax error, we will need to see the *exact* code that
produced the error.
If you post a short and complete program that we can run that demonstrates
your problem, someone here can surely help you fix the problem.
Try it _without_ changes first.
Jim's code works fine for me.
Have you seen the Posting Guidelines that are posted here frequently?
Tad McClellan SGML consulting
email@example.com Perl programming
Fort Worth, Texas