Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. bingoldsby

    Problem with this " print <<EOM; " function

    Thanks, both of you. I did some experimenting. The the final end statement needs to be on it's own line, no preceeding indents/tabs/spaces, and must be followed by at least one line break. I didn't find any of those specifics in the tutorials I have been looking at. Thanks, again. Brian
  2. bingoldsby

    Problem with this " print <<EOM; " function

    print <<ENDHTML; ....your HTML code (or text) here..... ENDHTML I've tried the above function from tutorials (using cut and paste) and typing it several times on my own, and I have not once gotten it to work successfully. Each time there is the error message: Can't find string terminator...
  3. bingoldsby

    Which perl (script) editor for a beginner - if any?

    Thanks, all, Good words and advice. I appreciate it much. Brian (except I'm still working on this one: :pe sub z{system("clear");VIM::MSG("Got Perl?")} so i can do :pe z Kordaff hmm)
  4. bingoldsby

    Which perl (script) editor for a beginner - if any?

    Actually, I'm not really trying to cut corners learning perl. I was just thinking about a Regex editor that I have which gives a tree-like explanation of every expression and portion of an expression as you type them. Thought something like that might be of value. Also getting the script or the...
  5. bingoldsby

    Which perl (script) editor for a beginner - if any?

    I'm starting pretty close to the beginning, and wondering if there is a program which is appropriate for editing, learning, and running examples of code - such as from tutorials. I have downloaded ActiveStates's Komodo as a trial and will need to decide if it's right to buy some time soon. I've...
  6. bingoldsby

    Congratulations fishiface on being voted TipMaster of the Week

    This seemed like an appropriate place to post my commendation of Fish's efforts on my behalf. Because of his coaching, I have been able to adapt a script I have been working on, to become and perform as another similar and very useful XML editor. Although I'm very early in the learning process...
  7. bingoldsby

    Script won't open xml file for editing

    Once again, Fish, I thank you heartily (did that in every post you made here). I have the form and the script up and running. It's performing well. Lots of musical notes to compare, I suppose. I also am going to be the busiest this week of any other time of the year. Been so for a week or so -...
  8. bingoldsby

    Script won't open xml file for editing

    Fish, Got all that and understand. I fixed the double << thing and moved the comment line down to the bottom of the Email address section - seeing it add email addresses correctly to the bottom of the section. Good thinking, of course. I'll look into the "file lock concept" and also try to...
  9. bingoldsby

    Script won't open xml file for editing

    OK, again... excellent this time! I tried your souped up version and, BINGO!, that worked almost exactly as I've hoped - almost. The added email addresses are being placed BEFORE the comment line <!-- END OF AUTOMATIC ENTRIES --> Seems like it should come after. ...and the <expression, etc...
  10. bingoldsby

    Script won't open xml file for editing

    OK... I've been able to run the form, get it to run the script (your first rewrite - haven't tried the revved up sample yet), and the script runs to the end (little "no boo boo" print out at the end of it). That's progress for me. The "c is not a registered protocol" thing was coming from the...
  11. bingoldsby

    Script won't open xml file for editing

    Thank you very much, Fish. (hope that's an acceptable use of name calling). I presume you are in GB. Perhaps the time difference is somewhat of an advantage, as "sleeping on it" has always been good. It seems like I'm always trying on something new (to me) or different, but usually want...
  12. bingoldsby

    Script won't open xml file for editing

    Fish, and all, Please read my final post in the other thread I got into. I respectfully request to be excused from this discussion. Thank you, Brian
  13. bingoldsby

    Need script to write to XML doc

    Fish, I just read the etiquite and protocol requirements for this board late last night. I understand now the mistake that I have made in asking for a complete solution. Unfortuanately I have been unable to find anything close to what I need as a commercial product, or anyone who wants to make...
  14. bingoldsby

    Script won't open xml file for editing

    Well, although the result of your change (Fish) to the script is unusual (not yet correct), I consider this to be progress. Running the script directly (without the final section to write back a "Success Notification") the xml file is opened, and written to (rewritten?). The entire original...
  15. bingoldsby

    Script won't open xml file for editing

    OOps, I missed your response this morning, Fish, before I wrote the immediate above. I'm just finding it and will try it as soon as possible. Thanks. Brian
  16. bingoldsby

    Script won't open xml file for editing

    Ok... Two more issues: Software error: Can't find string terminator "EndStart" anywhere before EOF at c:\PROGRA~1\APACHE~1\apache\cgi-bin\test.cgi line 39. This comes up when attempting to run the CGI directly from the browser. Line 39 now is the start of the "Print return message" section -...
  17. bingoldsby

    Script won't open xml file for editing

    Thank you, Fish, I'm sure I like the way you think also. Unfortunately, I don't understand anything about what you're thinking - except the part about the quotes around the xml file location string. I did notice some errors talking about unexpected escaped characters in that line. I have some...
  18. bingoldsby

    Script won't open xml file for editing

    In another thread, I have been asking for assistance getting an HTML form to call a script which will open an XML file, find a specific line, and add another line using the form's input data to modify that new line. (it's adding an email address to a whitelist) I have the form and a script...
  19. bingoldsby

    Need script to write to XML doc

    Bruce, Please read my previous post (just above your last one) which clearly indicates that I am using Apache on Windows. My shebang line is correct. I am using it in several other Perl scripts which run successfully on that server. So far I have had a bit of success discovering where a...
  20. bingoldsby

    Using a HTML for to add to an existing XML file.

    Jon, I can't let this alone and don't know where else to go frankly. After finding a suggestion about placing a print statement: print "Content-type: text/html\n\n"; print "No boo boo!"; exit; at the top of the script (just under the shebang line), running the script, and moving it down...

Part and Inventory Search

Back
Top