Re: Perl/cgi question

2002-11-17 Thread Wiggins d'Anconia
perldoc -f system or check out the "backtick" operator. Use system if you are just wishing to receive the result code from execution, use the backticks if you need to capture the output of the command. You might also check out the expect module on CPAN and see if you can bring all of the vario

Perl/cgi question

2002-11-17 Thread Anthony Barkley
Hello, I have a perl script that needs to run other scripts in the same directory. The program is located in the /usr/bin/perl as well as the other scripts that its has to run. Those other scripts are Expect scripts that requier a parameter to run. example from command line: ../change pod would ru

Re: HTML, XHTML, XML, etc

2002-11-17 Thread Wiggins d'Anconia
Jimmy George wrote: Hello All This is not really CGI talk but I am interested in the statement that XHTML is a subset od XML and a parser should be available in the CGI library. The examples you gave are all part of the XML specification. XHTML is really just a predefined set of tags and rules

Re: Mailing truncated lines

2002-11-17 Thread zentara
On Sat, 16 Nov 2002 09:38:02 -0600, [EMAIL PROTECTED] (J. Alejandro Ceballos Z.) wrote: >use LWP::Simple; >$cResult = get('http://www.some.sit/cgi-bin/status.pl?condition=true'); >open (MAIL, "/usr/lib/sendmail -s /"test/" [EMAIL PROTECTED]"); >print MAIL "To: me <[EMAIL PROTECTED]>/n"; >print MAI