Thanks to all (Ted A., Mark B. & Glenn C.) for your input. I have been Perl-challenged now for a few days but admittedly it is very exciting to see what can be done with a powerful back-end language. (Plug follows) I have been working with Apache/iX and Perl/iX these last few days and these are two of the most useful and powerful packages on the e3000. Amazingly enough, they are free and (from my experience) extremely easy to install. Essentially, they web-enable the e3000. For myself, the big hurdle lies in moving myself and my staff into the 'web-enabled' field. It is tough because there are many new concepts and languages to be learned by die-hard MPE/iX e3000 programmers: HTML, Javascript, POSIX stuff, the ins-and-outs of Apache/iX and whatever scripting language you choose (like Perl or Posix shell scripting). I am pushing hard to move our shop toward the 'webbification' of the e3000. With tools like Apache and Perl from Mark and the helpful input of our own e3000 community, this is happening now! Here are some useful links I have found in my search for 'help'. perl: http://www.perl.com html: http://www.webspawner.com/cc/html/alpha.htm javascript: http://www.javascript.com Apache/iX: http://www.bixby.org/mark/apacheix.html Perl/iX: http://www.bixby.org/mark/perlix.html -----Original Message----- From: Ted Ashton [mailto:[log in to unmask]] Sent: Wednesday, May 31, 2000 6:20 AM To: Eben Yong Subject: Re: Another Apache/iX and Perl/iX system() question Eben, Glad it worked for you :-). By the by, just a quick comment--you shouldn't need the curlies around the file handle in the print command. That is, print FILE1 "1\n"; should work just as well. Ted Thus it was written in the epistle of Eben Yong, > Hi Ted, > > Thanks for the response... I was trying to do this in Perl but was not > succeeding... tried again with renewed vigor and it seems to have worked... > thanks for the input! > > Eben > > #THIS works! > open(FILE1, '+>FILE1'); > print {FILE1} "1\n"; > close(FILE1); > > -----Original Message----- > From: Ted Ashton [mailto:[log in to unmask]] > Sent: Tuesday, May 30, 2000 4:43 PM > To: Eben Yong > Subject: Re: Another Apache/iX and Perl/iX system() question > > > Eben, > As always, Mark will give you the best answer :-), but I'll give it a shot > anyway. Here, so far as I can tell, you aren't having a buffering problem, > but a permissions one if any. Of course, your program appears to be > printing > something to STDOUT, calling system which in turn calls the CI which in turn > echoes '123' out to FILE1 (not printing anything to STDOUT) and then prints > some other stuff to STDOUT. Is that what you are wanting to accomplish? > Would > it not be easier to just open the file in perl, print to it and close it > again? > > Ted "P'raps I've misunderstood" Ashton > -- > Ted Ashton ([log in to unmask]), Info Sys, Southern Adventist University > ========================================================== > A theory has only the alternative of being right or wrong. A model has a > third possibility: it may be right, but irrelevant. > -- Eigen, Manfred (1927 - ) > ========================================================== > Deep thoughts to be found at http://www.southern.edu/~ashted -- Ted Ashton ([log in to unmask]), Info Sys, Southern Adventist University ========================================================== [During a lecture:] This has been done elegantly by Minkowski; but chalk is cheaper than grey matter, and we will do it as it comes. -- Einstein, Albert (1879-1955) ========================================================== Deep thoughts to be found at http://www.southern.edu/~ashted