MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: <<EOF



Hi Scott -

> How does <<EOF get created in the catalog.cfg file? Every once in a while
> the <<EOF will turn into EOF or <<EOR. I'm using a program called NetObjects
> Script builder to edit the file and I think that's causing the <<EOF to
> disappear. How can I fix it using VI?

The label ("EOF", "EOR", etc.) is just plain text, so you can type it in
with any text editor.  The syntax "<<EOF" means "from here to the line
marked EOF".  (Btw, I think Mike uses "EOR" in catalog.cfg to mean "end of
routine".)

You can use any text string for these labels, the name doesn't matter as
long as it matches at top and bottom, and at the bottom it has to be the
only thing on the line, no trailing spaces, etc.  For example: 

UserTag var Routine <<EOF;
 sub {
  ...
 }
EOF

works exactly the same as:

UserTag var Routine <<X_MARKS_THE_SPOT;
 sub {
  ...
 }
X_MARKS_THE_SPOT



Larry Leszczynski
larryl@furph.com
--
  furph, Inc.	WWW/Unix/Windows Solutions	734-513-7763 (voice)
info@furph.com	   http://www.furph.com		734-513-7759 (FAX)



Search for: Match: Format: Sort by: